Skip to content

Commit

Permalink
Create 1-4_TimeMachine.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jisunp04023 authored Oct 19, 2023
1 parent 0418265 commit 0220098
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions 1-4_TimeMachine.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
def solution(num):
answer = 0
answer = num + 1

while(True):
if '0' in str(answer):
answer += 1

else:
break

return answer


num = 9949999;
ret = solution(num)

print("solution 함수의 반환 값은", ret, "입니다.")

0 comments on commit 0220098

Please sign in to comment.