Advertisement
Fhernd

valor-por-defecto.py

Feb 1st, 2018
614
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. def exponenciacion(b = 2, e = 2):
  2.     return b ** e
  3.    
  4. print(exponenciacion(e=3))
  5. print(exponenciacion(b=5))
  6. print(exponenciacion(3, 3))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement