Ошибка TypeError: '<' not supported between instances of 'str' and 'int' прошу помочь
Я новичёк, код:
num = 65
runProg = True
while runProg:
guess = input("Enter number")
if guess == num:
print("Its true")
runProg = False
elif guess < num:
print("Its too few")
else:
print("Its too much")
По дате
По рейтингу
ты строку с числом сравниваешь.
guess = int(input("Enter number"))
Больше по теме