ĀæCĆ³mo haces repetir dos operaciones con diferentes variables? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

ĀæCĆ³mo haces repetir dos operaciones con diferentes variables?

25th Sep 2017, 11:14 PM
Oscar Ortiz Barba
Oscar Ortiz Barba - avatar
2 Respostas
+ 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