diff --git a/basics.py b/basics.py index f93a528..9946616 100644 --- a/basics.py +++ b/basics.py @@ -1,3 +1,4 @@ -def concat(a, b): - return a + b -print(concat("Hello", " World!")) \ No newline at end of file +def avg(*args): + return(sum(args)/len(args)) + +print(avg(1, 3, 5, 7)) \ No newline at end of file