python que 10

Dprogrammed1 Jun 10th, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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))
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand