Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def print_sign(num):
- if num is 0:
- print(f"The number {num} is zero.")
- elif num < 0:
- print(f"The number {num} is negative.")
- elif num > 0:
- print(f"The number {num} is positive.")
- print_sign(int(input()))
Advertisement
Add Comment
Please, Sign In to add comment