Python/basics.py

4 lines
111 B
Python
Raw Normal View History

2020-02-05 13:36:12 +00:00
def uppersort(*args):
return sorted([str.upper(arg) for arg in args])
2020-02-04 14:01:05 +00:00
2020-02-05 13:36:12 +00:00
print(uppersort('b', 'a', 'd', 'c'))