diff --git a/exercises-python/mike_sullivan/ex01_basics/main.py b/exercises-python/mike_sullivan/ex01_basics/main.py index 57324e7a..6e70b1ac 100644 --- a/exercises-python/mike_sullivan/ex01_basics/main.py +++ b/exercises-python/mike_sullivan/ex01_basics/main.py @@ -62,8 +62,9 @@ def main(): sortedValuesCounts = [x for x in sorted(zip(counts,values),reverse=True)] # print out words in descending order of frequency + print('Word Usage') for i in sortedValuesCounts[0:numlines]: - print(i[0],i[1]) + print(f"{i[1]} {i[0]}") pass diff --git a/tests/__pycache__/test_python.cpython-310.pyc b/tests/__pycache__/test_python.cpython-310.pyc new file mode 100644 index 00000000..1077d970 Binary files /dev/null and b/tests/__pycache__/test_python.cpython-310.pyc differ