This website requires JavaScript.
Explore
Help
Sign In
david.avery
/
Python
Watch
1
Star
0
Fork
0
You've already forked Python
Code
Issues
Pull Requests
Releases
Wiki
Activity
6d97a73cf5
Python
/
basics.py
4 lines
71 B
Python
Raw
Normal View
History
Unescape
Escape
Coding exercise 41
2020-02-04 14:01:05 +00:00
def
avg
(
*
args
)
:
return
(
sum
(
args
)
/
len
(
args
)
)
print
(
avg
(
1
,
3
,
5
,
7
)
)
Reference in New Issue
Copy Permalink