Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
need add (strng and) in line 5 to make sure string is not empty while looping.
strings cannot be edited by message[x]. can only be edited by adding to a list then joining the list
This comment is hidden because it contains spoiler information about the solution
create a dictionary. min(4,length) gives the smaller result of the two. so if length is smaller than 4 it will take 3 for example from the dictionary
use place holders {} in strings then use .format
can just add to the dictionary for each index because dictionary will not duplicate. For aba, it wont have two items of 'a': 2
can separate into two list and return the outlier list because it has only one item
can just return a == b because it is a booleant and will return true already
can just use 'or' because 15 wont be added twice