Bro
You even know how to use key in sorted function
it took me nearly as long as you, as long as you get it working in the end it's no biggie
That basically allows you to Increment by 2 in the for Loop, syntax is as follows:
for i in range(beginning, end, step)
Example: for i in range(0, 12, 2) will iterate through numbers 0 to 12 incrementing by 2 every iteration so (0, 2, 4, 6, 8, 10)
Try looking at this https://docs.codewars.com/training/troubleshooting/#works-but-no
Loading collection data...
Bro
You even know how to use key in sorted function
it took me nearly as long as you, as long as you get it working in the end it's no biggie
That basically allows you to Increment by 2 in the for Loop, syntax is as follows:
for i in range(beginning, end, step)
Example: for i in range(0, 12, 2) will iterate through numbers 0 to 12 incrementing by 2 every iteration so (0, 2, 4, 6, 8, 10)
Try looking at this https://docs.codewars.com/training/troubleshooting/#works-but-no