0

How can I enter answers?

i only get errors

3rd Mar 2017, 3:38 PM
Xaldarian
Xaldarian - avatar
3 Respostas
+ 7
n = "23" #type string print(int(n)) #string conversion to int I'm not sure if that was your question, but..
3rd Mar 2017, 4:22 PM
LayB
LayB - avatar
+ 2
n = input("enter a value: ") # type string print(n) # need conversion to int only to do calculation # but I don't know if it's what you expect: your question and even your attempt to explain more are not clear at all ^^
4th Mar 2017, 9:47 AM
visph
visph - avatar
0
the problem was that I needed to use enter to enter multiple answers which was not implied. thx for the response though. used to to dos as a kid and haven't used code in a long while haha
3rd Mar 2017, 5:03 PM
Xaldarian
Xaldarian - avatar