Computer Science, asked by juhishah5986, 5 months ago

Check whether the number is positive or negative in python

Answers

Answered by ashok1011
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