Advertisement
Dprogrammed1

python que 10

Jun 10th, 2019
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. def d(f):
  2.     def n(*args):
  3.         return '$' + str(f(*args))
  4.     return n
  5. @d
  6. def p(a, t):
  7.     return a + a*t
  8. print(p(100,0))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement