- 3

Guys my Code is not working here....

name = (input("Enter your name:")) print ("Hello!,"+name, "Welcome to the multiplication table.") num2= (input("what number do you prefer?:")) print ("There you go","x" +num2) num =int(input('Enter number to go:')) i = 1 while i<= 30: print (num,"x", i, "=", num*i) i =i+1

17th Mar 2022, 1:33 PM
Kelvin  Sintim 
Kelvin  Sintim  - avatar
11 Answers
+ 1
Working fine.. But what is your num2 do there..? edit: may be because of input passing.. Run this code to get explanation about how input works in SoloLearn. https://code.sololearn.com/WhiNb9BkJUVC/?ref=app
17th Mar 2022, 1:42 PM
Jayakrishna 🇮🇳
+ 1
My Bad, it works, I now understand, than you guys..👏👏👏
17th Mar 2022, 1:59 PM
Kelvin  Sintim 
Kelvin  Sintim  - avatar
0
It work in my VS code but it doesn't work here
17th Mar 2022, 1:51 PM
Kelvin  Sintim 
Kelvin  Sintim  - avatar
0
Yh I have try it, it works but, what abt the input
17th Mar 2022, 1:56 PM
Kelvin  Sintim 
Kelvin  Sintim  - avatar
0
The input use to work in VS code but why not here
17th Mar 2022, 1:56 PM
Kelvin  Sintim 
Kelvin  Sintim  - avatar
0
Poops sorry
17th Mar 2022, 1:58 PM
Kelvin  Sintim 
Kelvin  Sintim  - avatar
- 2
Have you tried it
17th Mar 2022, 1:53 PM
Kelvin  Sintim 
Kelvin  Sintim  - avatar