+ 1

Is it possible to give input to function for two arguments during runtime?

22nd Jul 2020, 1:54 PM
Nikhil
Nikhil - avatar
2 Antworten
+ 1
yes ,its possible
22nd Jul 2020, 2:21 PM
Ambati Veda priya
Ambati Veda priya - avatar
+ 5
Yes, def add(b,c): print(b+c) add(int(input()),int(input()))
22nd Jul 2020, 2:04 PM
Abhay
Abhay - avatar