hey , started to learn python i am a complete beginner in code writing) and right now im on “if” , “else”,”elife”, part
i practice on all the basics and i came across an issue with this part
num1 = int(input("what is your lucky nubmer? ")) num2 = int(input("what is your age? ")) num3 = num1+num2 ques1 = int(input("please enter a number above " +num3 , ))
in “ques1” i want the user to be asked to put number above “num3” so from there i can keep add more stuff just to mess around and test myself. issue is , no matter where i tried to put “num3” in the “ques” input i get error.
where should i put it?
thanks!
submitted by /u/ah_ahaa
[link] [comments]
r/learnpython hey , started to learn python i am a complete beginner in code writing) and right now im on “if” , “else”,”elife”, part i practice on all the basics and i came across an issue with this part num1 = int(input(“what is your lucky nubmer? “)) num2 = int(input(“what is your age? “)) num3 = num1+num2 ques1 = int(input(“please enter a number above ” +num3 , )) in “ques1” i want the user to be asked to put number above “num3” so from there i can keep add more stuff just to mess around and test myself. issue is , no matter where i tried to put “num3” in the “ques” input i get error. where should i put it? thanks! submitted by /u/ah_ahaa [link] [comments]
hey , started to learn python i am a complete beginner in code writing) and right now im on “if” , “else”,”elife”, part
i practice on all the basics and i came across an issue with this part
num1 = int(input("what is your lucky nubmer? ")) num2 = int(input("what is your age? ")) num3 = num1+num2 ques1 = int(input("please enter a number above " +num3 , ))
in “ques1” i want the user to be asked to put number above “num3” so from there i can keep add more stuff just to mess around and test myself. issue is , no matter where i tried to put “num3” in the “ques” input i get error.
where should i put it?
thanks!
submitted by /u/ah_ahaa
[link] [comments]