Python program to check whether an english sentence is positive or negative
Answers
Answered by
1
Answer:
Mark me as brainliest
Explanation:
num = float(input("Enter a number: "))
if num > 0:
print("Positive number")
elif num == 0:
print("Zero")
else:
print("Negative number")
Similar questions