Input problem... | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 2

Input problem...

If I wrote a code like this = user_name = input("Enter you name : ") print(user_name) Output (After filling the input box )= Enter your name : Shayokh But I want an output like this = Shayokh How can I do that??

23rd Dec 2019, 5:58 AM
Shayokh Shuvro
Shayokh Shuvro - avatar
2 Antworten
+ 6
Just remove the string inside the input() user_name = input()
23rd Dec 2019, 6:37 AM
molang
molang - avatar
+ 3
Yes, you can remove string from input() . Because what is enter into that double quotes will display in a output.
29th Dec 2019, 9:27 AM
M.Yoganayaki
M.Yoganayaki - avatar