0
Why input() function is not working in solo learn please tell me becuse it is also WORKING in python 2.7 in my pc.
input function
8 Respuestas
+ 5
Let me guess, you're asking that why don't this code is taking multiple inputs. Is it ??
+ 2
There are some restrictions in using input() in SoloLearn. So the best way to get a clear picture from your trouble would be if you share us your code in Code playground.
+ 1
Mudasir Ali you have to put all your inputs together at sololearn playground else you will get error
See this :
https://code.sololearn.com/c91X1LCKylB7/?ref=app
0
print("what is your name")
myName=input()
print("nice to meet you, "+ myName)
print("length of your name is:")
print(len(myName))
print("what is your age")
myAge=input()
0
now tell me about my code
0
yes i want to say about multiple inputs
can this code work in multiple inputs
0
print("what is your name")
myName=input()
print("nice to meet you, "+ myName)
print("length of your name is:")
print(len(myName))
print("what is your age")
myAge=input()
error in line 7 multiple inputs
yes i want to say about multiple inputs
can this code work in multiple input
it is not working in solo learn but
it is working in python 2.7 in my pc.
why it is not working in solo learn???
0
yes