0

How to input two value

I was doing a program in Python and their was a case where I need to enter two input but don't know how to do it

28th Sep 2017, 4:19 PM
Shinigami
Shinigami - avatar
2 Answers
+ 5
In SoloLearn it's a bit different, as you have to enter all needed input right away. Just make sure to put each one in a separate line (after Enter).
28th Sep 2017, 5:22 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 2
Same as one input, but two...or three...or however many you want. ------------EXAMPLE------------ firstName = input("Enter your first name: ") lastName= input("Enter your last name: ") userAlias = input("Enter your handle: ")
28th Sep 2017, 4:34 PM
AgentSmith