full_name = Input('what is your name? ') print(full_name) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

full_name = Input('what is your name? ') print(full_name)

Please why this syntax is error? I just a behinner pls someone help and rectify my mistake https://code.sololearn.com/cdi6LSD1t3e4/?ref=app

13th Sep 2023, 12:06 PM
SAGIR ISAH
SAGIR ISAH - avatar
34 Answers
+ 9
SAGIR ISAH , It is better you go through the introduction to python course well... In your above code without input()...how you will get user input...?? And if you want to print message like you mentioned...it is possible through String concatenation.... Here take a look at it.... https://code.sololearn.com/clJnHVNWp6oi/?ref=app
13th Sep 2023, 12:39 PM
Riya
Riya - avatar
+ 6
input must be written in lowercase letters.
13th Sep 2023, 12:10 PM
Jan Markus
+ 5
SAGIR ISAH , It is possible to output name in next line...for that you have to use ' \n ' which will add the content to the new line... Like this, full_name = input('what is your name?\n') print(full_name) Go through python courses to understand it better...👍
13th Sep 2023, 12:28 PM
Riya
Riya - avatar
+ 5
SAGIR ISAH , Try like this, input: sahir white give all the inputs one-by-one before submitting... https://code.sololearn.com/c6jY9fBZkTP6/?ref=app
13th Sep 2023, 12:44 PM
Riya
Riya - avatar
+ 4
SAGIR ISAH , Python is case-sensitive language...so make the ' Input ' into lower-case ' input '
13th Sep 2023, 12:11 PM
Riya
Riya - avatar
+ 4
SAGIR ISAH , It will surely works...see I just made input() lower-case in your code... It is working well, https://code.sololearn.com/cfkvuUYZQ3iz/?ref=app
13th Sep 2023, 12:22 PM
Riya
Riya - avatar
+ 4
**🇦🇪|🇦🇪** And what about my answer? 😕
13th Sep 2023, 5:52 PM
Jan Markus
+ 3
I did mark riya's answer now Of course, he is the one who helped a lot, and give me the favourite and straight forward answer
13th Sep 2023, 5:57 PM
SAGIR ISAH
SAGIR ISAH - avatar
+ 3
Jan Markus you know your answer is correct but I mentioned Riya because she did follow up his next questions .
14th Sep 2023, 3:28 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
+ 2
'input' starts with small i not uppercase I
13th Sep 2023, 12:11 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
+ 2
Thank you i wrote it in lower case but still didn't work
13th Sep 2023, 12:14 PM
SAGIR ISAH
SAGIR ISAH - avatar
+ 2
Thank you so much it worked, so can the python not allow me to write my name after I asked.?
13th Sep 2023, 12:25 PM
SAGIR ISAH
SAGIR ISAH - avatar
13th Sep 2023, 12:34 PM
SAGIR ISAH
SAGIR ISAH - avatar
+ 2
Python case sensitive language hai You can use input, not Input
13th Sep 2023, 1:28 PM
Jai Prakash Patel
Jai Prakash Patel - avatar
+ 2
SAGIR ISAH you should mark Riya answer not your friend's, we are witnesses on this earth and if we misjudged with a tiny simple thing ; the earth later will become miserable
13th Sep 2023, 4:58 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
+ 1
Let me show you
13th Sep 2023, 12:15 PM
SAGIR ISAH
SAGIR ISAH - avatar
+ 1
Am so sorry bro for disturbing you, but still didn't allow me to right name. I want print a message like "sagir likes white"
13th Sep 2023, 12:35 PM
SAGIR ISAH
SAGIR ISAH - avatar
+ 1
I want print a message like "sagir like white" what is the problen here please?
13th Sep 2023, 12:39 PM
SAGIR ISAH
SAGIR ISAH - avatar
13th Sep 2023, 12:39 PM
SAGIR ISAH
SAGIR ISAH - avatar
+ 1
Thank you plentifully i will surely go through the python introduction course very well again
13th Sep 2023, 12:51 PM
SAGIR ISAH
SAGIR ISAH - avatar