3 Answers
New Answern = "23" #type string print(int(n)) #string conversion to int I'm not sure if that was your question, but..
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 ^^
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
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message