Advertisement
Fhernd

multiples-valores-retorno-funcion.py

Aug 16th, 2018
11,209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.15 KB | None | 0 0
  1. def generar_multiples_valores():
  2.     return (2, 3, 4, 5)
  3.  
  4. dos, tres, cuatro, cinco = generar_multiples_valores()
  5.  
  6. print(dos, tres, cuatro, cinco)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement