diff --git a/basics.py b/basics.py index 9946616..7f31e92 100644 --- a/basics.py +++ b/basics.py @@ -1,4 +1,4 @@ -def avg(*args): - return(sum(args)/len(args)) +def uppersort(*args): + return sorted([str.upper(arg) for arg in args]) -print(avg(1, 3, 5, 7)) \ No newline at end of file +print(uppersort('b', 'a', 'd', 'c')) \ No newline at end of file