ONE LINER ALERT
range(1,7)
the last number (stop=7) is not included in the range function so when you write 7 the iteration of the for loop will stop in the number 6 (since the 7 is not included) so when you want to stop in 7 you should do 7+1
Oooooh, I just got it! Brilliant!
damn forget about that one
This comment is hidden because it contains spoiler information about the solution
Nice, but parenthesses are unneccesary here :>
Nice one, GG! Forgot about that option :)
ah, exactly. Thank you!
I was looking for a solution that looks like mine. Found it.
same
I feel like an idiot
very nice Kata to practise list comprehension!
Loading collection data...
ONE LINER ALERT
range(1,7)
the last number (stop=7) is not included in the range function so when you write 7 the iteration of the for loop will stop in the number 6 (since the 7 is not included)
so when you want to stop in 7 you should do 7+1
Oooooh, I just got it! Brilliant!
damn forget about that one
This comment is hidden because it contains spoiler information about the solution
Nice, but parenthesses are unneccesary here :>
Nice one, GG! Forgot about that option :)
This comment is hidden because it contains spoiler information about the solution
ah, exactly.
Thank you!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I was looking for a solution that looks like mine. Found it.
same
I feel like an idiot
very nice Kata to practise list comprehension!
Loading more items...