Is it possible to give input to function for two arguments during runtime? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

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

22nd Jul 2020, 1:54 PM
Nikhil
Nikhil - avatar
2 Réponses
+ 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