Guest User

Untitled

a guest
Aug 20th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. print("to show whether a given number is positive ")
  2. c=float(input("enter:"))
  3. if c==0:
  4. print("given number is zero")
  5. elif c>0:
  6. print("given number is positive")
  7. else:
  8. print("given number is negative")
Add Comment
Please, Sign In to add comment