add KR
This commit is contained in:
@@ -19,4 +19,5 @@ def count_chars(text):
|
||||
def get_top_tuples(my_list):
|
||||
return sorted(my_list.items(), key=lambda x: x[1], reverse=True)
|
||||
|
||||
|
||||
print(get_top_tuples(count_chars(safe_input())))
|
||||
|
||||
Reference in New Issue
Block a user