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.
which I already say just 2 comments below... ;)
why is sum not okay?
Exponentiation operator
If x and y are integer, float or double, x^y evaluates to x raised to the power y. Unlike other operators, exponentiation is right associative, so 2^3^2 = 2^(3^2) = 512, not (2^3)^2 = 64.
no problem bro
This comment is hidden because it contains spoiler information about the solution
well, i agree, but that was when i first starting learning python, and didn't really know what i was doing. now, i think ive gotten better. hopefully :)
No idea, maybe an error with the highlight library in JavaScript.
approve
Don't use itertools, use your brain.
This solution is at least 7 years old, f-strings didn't exist then.
This comment is hidden because it contains spoiler information about the solution