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.
To everyone failing a different random test on the "ATTEMPT" tests part, just keep submitting, the author messed up with the rounding, it took me aprox 100 attempts with the same code to actually pass it.
Much better. But, your check_if_winner function has a lot of repeated/very similar lines creating a pattern. I bet you can simplify further.
I refactored it as much as I could, what do you think?
You are welcome. First thing you could do is combine the 7 different column dicts into a single one for the whole grid.
It definitely looks bad like this. I'll try to make this a little prettier. I'm kind of a python noob so I kinda needed it to look as clear and divided as possible. Thanks for the input!
Lines of repeated code is sure sign that you need loops or functions.