Guest User

Untitled

a guest
Nov 20th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. # hw3.py
  2.  
  3. while True:
  4. num=int(input('숫자를 입력하세요: '))
  5. if num<0:
  6. num*=-1
  7. elif num==0:
  8. break
  9. print('=>', num)
Add Comment
Please, Sign In to add comment