time=int(input("How long do you spend on the computer per day?"))
IF time =<2
print("that seems reasonable")
第二行time
出现语法错误,我不知道出了什么问题。
答案 0 :(得分:2)
IF
,你的意思是if
>=
而不是=>
:
声明if
所以你走了:
time= int(input('How long do you spend on the computer? '))
if time >= 2:
print('That seems reasonable')