Is it possible to give input to function for two arguments during runtime? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

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

22nd Jul 2020, 1:54 PM
Nikhil
Nikhil - avatar
2 ответов
+ 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