Write and execute a PYTHON program to perform the following tasks.
1.Program to input 10 numbers and find the number of positive and negative numbers.
num = float(input("Input a number: "))
if num > 0:
print("It is positive number")
elif num == 0:
print("It is Zero")
else:
print("It is a negative number")
Comments
Leave a comment