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.
i did something similar to that with a dict and exiting as soon as the value(number of appearance) of a key(letter) is more than 1.
This comment is hidden because it contains spoiler information about the solution
Really clever way to avoid needing to divide and typecast the result to float/double! And even accounts for yourself being a part of the class 'avg,' though at first glance one might think it doesn't. It does!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution