+ 2

How to take input

I want to take input but everything an error came please tell me

21st Jul 2024, 2:36 PM
ram kumar tiwari
ram kumar tiwari - avatar
9 Respostas
+ 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.
21st Jul 2024, 7:19 PM
Lothar
Lothar - avatar
+ 2
For better help will be needed to show your attempt. Could you show that or link to that?
21st Jul 2024, 2:52 PM
JaScript
JaScript - avatar
21st Jul 2024, 3:02 PM
R🍁🇼🇳
R🍁🇼🇳 - avatar
+ 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 ✹
21st Jul 2024, 2:44 PM
Hacker Badshah
Hacker Badshah - avatar
+ 1
I think you just forgot to make a variable in the penultimate line
21st Jul 2024, 5:35 PM
DoMiNuS
DoMiNuS - avatar
0
How to separate
21st Jul 2024, 2:50 PM
ram kumar tiwari
ram kumar tiwari - avatar
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 . . .
21st Jul 2024, 2:54 PM
Hacker Badshah
Hacker Badshah - avatar
0
Input1=input("Enter your Name")
22nd Jul 2024, 2:17 PM
Rohan Sharma