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.
This helped a lot. Thanks. Haha
slightly different but same idea
TypeError: 'int' object is not iterable ???
Makes my code looks like spaguetti
Great job with the pop idea. Elegent!
wut did I just read
Could you elaborate on what the lambda function does in your solution exactly?
This is the only right way to solve the problem. Nice job!
I brute forced it
it is not even a program. you just compressed your code into a few lines to make it look cleverer, instead it became unreadable and messed
very cool
This code doesn't work in all cases. I copied it and pasted it to VS Code and tried it with a test polynomial I made up.
poly = '2ac+8ca+9poy-21opy'
The answer should be
10ac-12opy
but it returns0ac-2opy
.The problem has to do with replacing the
1
with an empty string in the return line.This comment is hidden because it contains spoiler information about the solution
This is clear, concise and fundamentally solving the problem in an obviously efficient way. In short, a revelation.
Thanks. Your description is very helpful!
Loading more items...