Python/basics.py
2020-02-04 14:01:05 +00:00

4 lines
71 B
Python

def avg(*args):
return(sum(args)/len(args))
print(avg(1, 3, 5, 7))