Aug-12-2019, 02:09 PM
1 2 3 4 5 |
num0 = input ( "Enter a Number: " ) if not (num0> = 0 ): print ( "Please enter a Valid Number >=0." ) else : print (num0) |
File "C:/Users/Human/PycharmProject/First/12.py", line 2, in <module>
if not(num0>=0):
TypeError: '>=' not supported between instances of 'str' and 'int'
Process finished with exit code