+ 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
34 Antworten
+ 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
+ 6
input must be written in lowercase letters.
+ 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...👍
+ 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
+ 4
SAGIR ISAH ,
Python is case-sensitive language...so make the ' Input ' into lower-case ' input '
+ 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
+ 4
**🇦🇪|🇦🇪**
And what about my answer? 😕
+ 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
+ 3
Jan Markus you know your answer is correct but I mentioned Riya because she did follow up his next questions .
+ 2
'input' starts with small i not uppercase I
+ 2
Thank you i wrote it in lower case but still didn't work
+ 2
Thank you so much it worked, so can the python not allow me to write my name after I asked.?
+ 2
Python case sensitive language hai
You can use input, not Input
+ 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
+ 1
Let me show you
+ 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"
+ 1
I want print a message like "sagir like white" what is the problen here please?
+ 1
Thank you plentifully i will surely go through the python introduction course very well again