Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = int(input())
- if x > 0:
- print(1)
- elif x < 0:
- print(-1)
- else:
- print(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement