Python Program to check if given number is positive

Python Program to check if given number is positive

Write Python Program to check if given number is positive

# Python Program to check if given number is positive

n = int(input("Enter the number :--> "))
if n > 0:
    print("The given number is positive")

Output:

Enter the number :--> 5

The given number is positive