Advertisement
Guest User

subtract.py

a guest
Apr 26th, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1.  
  2. def set_num(*num):
  3.      t = num[0]
  4.      for n in num:
  5.            t-=n
  6.      print(t)
  7.      
  8.  
  9. set_num(-12,2,-5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement