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