Check whether the number is positive or negative in python
Answers
Answered by
0
Answer:
num=int(input('Enter a number-->'))
if num>0:
print('The Number is Positive')
elif num<0:
print('The Number is Negative')
else:
print('The number entered is 0')
Similar questions