For Python, how do I respond to an input? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

For Python, how do I respond to an input?

For ex. I say print(input("What\' your name")) and I want to say on a different line, "That's a nice name", how do I do it?

25th Nov 2016, 8:18 AM
Aaryan Rampal
Aaryan Rampal - avatar
2 Antworten
0
Well all you do is press enter then write print("That's a nice name.")
25th Nov 2016, 9:16 AM
asdfghjkl
0
you just gotta yolo it
25th Nov 2016, 9:19 AM
asdfghjkl