➽ Program:-
num
= int(input("Enter a Number: "))
if(num>0):
print(num,"is a Positive number")
elif(num==0):
print("Zero")
else:
print(num,"is a Negative number")
➽ Output:-
Enter a Number: 22
22 is a Positive number
Enter a Number: -4
-4 is a Negative number
0 Comments
Please do not enter any spam link in the comment section.