+ 4

Merging or taking two inputs in Python .

Here in Sololearn we can take input only once . so how can i take two or more inputs a time . Example -: 1. int(input(Write a number)) 2. int(input(Write another number)) How could i take both the input at once ?

4th Sep 2018, 6:38 PM
OM KASHYAP
OM KASHYAP - avatar
3 Respuestas
+ 6
x,y=map(int,input().split(",")) try 13,14 for ex
4th Sep 2018, 8:26 PM
VcC
VcC - avatar
+ 3
enter like this: first input second input
4th Sep 2018, 7:12 PM
Mert Yazıcı
Mert Yazıcı - avatar
+ 3
VcC it worked bro ... Thanks a lot.
5th Sep 2018, 5:13 AM
OM KASHYAP
OM KASHYAP - avatar