¿Cómo haces repetir dos operaciones con diferentes variables? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

¿Cómo haces repetir dos operaciones con diferentes variables?

25th Sep 2017, 11:14 PM
Oscar Ortiz Barba
Oscar Ortiz Barba - avatar
2 ответов
+ 1
Define a function for the operation d=5 e=2 def operation(a, b): print(a+b) print(a*b) operation(d,e)
26th Sep 2017, 5:09 PM
Paul Ungureanu
Paul Ungureanu - avatar
+ 1
thanks bro
26th Sep 2017, 7:06 PM
Oscar Ortiz Barba
Oscar Ortiz Barba - avatar