How to take two inputs in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 34

How to take two inputs in python

when we click run then how to assign two values in it

26th Aug 2018, 1:52 AM
Arpit Mittal
Arpit Mittal - avatar
6 Answers
+ 33
how to input two values
26th Aug 2018, 2:53 AM
Arpit Mittal
Arpit Mittal - avatar
+ 10
please don't post same question twice, thank you https://www.sololearn.com/Discuss/1471685/?ref=app
8th Sep 2018, 10:53 PM
Vukan
Vukan - avatar
+ 4
Oh alright, well, you can type different input each on different line, for example, if you want to type two numbers, 10 and 20, you go like this: 10 <Enter> ←| 20
26th Aug 2018, 2:56 AM
Ipang
+ 3
Are you asking of how to write a code that asks for two inputs, or how to input the values with the input dialog?
26th Aug 2018, 2:36 AM
Ipang
+ 2
Firstly definate variable x and y and let make some fonction it
9th Sep 2018, 2:47 AM
Her 5 kişiden biri
Her 5 kişiden biri - avatar
+ 2
i have this doubt too...how can i define two imput statements
9th Sep 2018, 3:41 AM
Tshering Nidup
Tshering Nidup - avatar