+ 1
Input in else statements
Can you use input in any else statement Because it does not work for me
8 Antworten
+ 4
Using this code, it works fine for me:
if 5*8 == 55:
print (55)
else:
print(input("your age:"))
+ 2
Can you please show your code?
+ 2
You need to put your age: in quotation marks, like this: print(input("your age:"))
+ 1
ok
+ 1
if 5*8 == 55:
print (55)
else:
print(input(your age:))
+ 1
ok thx
+ 1
ir still says there is an error
+ 1
thx