How can I check if a number is negative?

后端 未结 0 1566
孤城傲影
孤城傲影 2021-01-13 09:34

I tried to check if the number is negative or not:

x = int(input(\'Enter any number:\'))
bumble = x+1
shumble = x-1
if shumble>x:
  print(\'Your number is          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题