Write a Python Program to accept a number and check if it is positive, negative or neutral.
Whoever answers first and correct, I will mark them as brainliest.
Answers
Answered by
2
Answer:
Python Program to Check if a Number is Positive, Negative or Zero
# In this python program, user enters a number and checked if the number is positive or negative or zero.
num = float(input("Enter a number: "))
if num > 0:
print("Positive number")
elif num == 0:
print("Zero")
else:
print("Negative number")
Similar questions
Business Studies,
1 month ago
Social Sciences,
1 month ago
Social Sciences,
3 months ago
English,
3 months ago
Science,
9 months ago
India Languages,
9 months ago