How can I enter answers? | Sololearn: Learn to code for FREE!

0

How can I enter answers?

i only get errors

3/3/2017 3:38:03 PM

Xaldarian

3 Answers

New Answer

+7

n = "23" #type string print(int(n)) #string conversion to int I'm not sure if that was your question, but..

+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 ^^

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