1'''In this program, we input a number
2check if the number is positive or
3negative or zero and display
4an appropriate message
5This time we use nested if statement'''
6
7num = float(input("Enter a number: "))
8if num >= 0:
9 if num == 0:
10 print("Zero")
11 else:
12 print("Positive number")
13else:
14 print("Negative number")