Basic Python Program-10

Write a program to assert to enter number greater then zero



no=int(input("Enter no greater then zero"))

assert no>0, "Number is not greater then zero"
print(no , "is greater then zero")