+ 2
How to take input
I want to take input but everything an error came please tell me
9 odpowiedzi
+ 5
ram kumar tiwari ,
maybe you should try this as the last lines of the code:
...
#input("Whats your name") # not required
name = input("What's your name? :")
print('your name is:', name) # to output the name
to get more familiar with the basics of python you should contjnue learning from the tutorial `introduction to python`. also do some practicing to get experience.
+ 2
For better help will be needed to show your attempt. Could you show that or link to that?
+ 1
Hello ram kumar tiwari
Can you tell what error you're getting
And remember
In sololearn if you have multiple inputs
You have to give all of them in advance seperating them to newline
Hope it helps you ✨
+ 1
I think you just forgot to make a variable in the penultimate line
0
How to separate
0
ram kumar tiwari You have to seperate by
Changing the line
By writing each input on a new line
Like
Input 1
Input 2
Input 3
. . .
0
Input1=input("Enter your Name")