According to the condition of the problem, the length of the array is guaranteed to be > 1, in the examples it can be seen that the first element in the incoming array is "thrown out", this is logical, because checking for i % 0 will not make sense. That's why we start the sequence with 1
Map Max: Fury Road
Pay attention to the dots after the word "zero".
I dont understand; i did quite literally exactly the same thing as you did, but i didn't pass a single test. Anyone got any ideas?
did that lol, fstrings are best
This comment is hidden because it contains spoiler information about the solution
Try learning assembler
This comment is hidden because it contains spoiler information about the solution
Thanks for the quick reply mate.
Learning a lot from your comments and solutions, as I'm sure many others are. Keep it up bro. :)
yes, but nothing significant. Here it's more about reducing the typing (no variable declaration)
This comment is hidden because it contains spoiler information about the solution
According to the condition of the problem, the length of the array is guaranteed to be > 1, in the examples it can be seen that the first element in the incoming array is "thrown out", this is logical, because checking for i % 0 will not make sense. That's why we start the sequence with 1
good to remember filter
Nice!