Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print("to show whether a given number is positive ")
- c=float(input("enter:"))
- if c==0:
- print("given number is zero")
- elif c>0:
- print("given number is positive")
- else:
- print("given number is negative")
Add Comment
Please, Sign In to add comment