write a python program to check if a Number is Positive , Negative or Zero.
num = int(input("Enter a number :"))
if num < 0:
print(num,"is Negative")
elif num==0:
print(num,"is Zero")
else:
print(num,"is Positive")
for execution and output so check the video.
Comments
Post a Comment