Computer Science, asked by heyaman789, 5 months ago

write a python program to check given number is positive or negative​

Answers

Answered by maliknuha
8

Answer:

num = float(input("Enter a number: "))

if num > 0:

print("Positive number")

elif num == 0:

print("Zero")

else:

print("Negative number")

Similar questions