Write a pyhton program that accept input a number and check weather given no. is positive , zero and negative. *
Answers
Answered by
0
Answer:
Smiling is the great answer please smile and follo w me
if I am correct please like me or please fol low me
Explanation:
Python is best beginners programming language / Scripting language
Smiling is the great answer please smile and follo w me
if I am correct please like me or please fol low me
Answered by
2
num = float(input("Input a number: "))
if num > 0:
print("It is positive number")
elif num == 0:
print("It is Zero")
else:
print("It is a negative number")
Sample Output:
Input a number: 150
It is positive number
Similar questions