Aug-12-2019, 02:09 PM
num0 = input("Enter a Number: ") if not(num0>=0): print("Please enter a Valid Number >=0.") else: print(num0)I need help, when i run run this code i get a error>>>>>> Traceback (most recent call last):
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