daily pastebin goal
75%
SHARE
TWEET

Untitled

a guest Feb 18th, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def get_average(*args):
  2.     return sum(args) / len(args)
  3.        
  4. print(get_average(5, 10, 15))
  5. print(get_average(5, 10, 15, 20, 40))
  6. print(get_average(1, 2, 3, 4, 0, 19, 20, 49, 17, 30, 1, 3, 2, 6, 7, 88))
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
 
Top