0
Taking multiple input values
https://www.sololearn.com/coach/3?ref=app How to take 2 input values? For example, Input: 3 6
1 Resposta
0
There are 2 methods
1st method
a,b=map(int,input().split())
2nd method
a,b=input.split()
a=int(a)
b=int(b)
1st method taking input as an integer.
2nd method taking input as a string and converting to integer.