Example:
Enter data to sort: "Hello World" Sorted: ["l", 3, "o", 2, " ", 1, "H", 1, "W", 1, "d", 1, "e", 1, "r", 1] In ASCII order So I want it to go into a table in order of the amount of times it comes up with the amount of times that character comes up.
#Like this
uncompressedInput = input("Enter data to compress: ")
# user inputted "abc"
print("Analysing...")
#sorted = str.sort(uncompressedInput)
#print(sorted)
# ["a", 1, "b", 1, "c", 1]