In my own projects, I will do this. Codewars though, I just like making an effort to try putting everything in 1 line of code. especially with python, theres been many instances of this lol.
This comment is hidden because it contains spoiler information about the solution
It isn't best practice to use magic numbers. I know it's fairly obvious what the numbers mean, but it's a bad habit to get into.
Loading collection data...
In my own projects, I will do this. Codewars though, I just like making an effort to try putting everything in 1 line of code. especially with python, theres been many instances of this lol.
This comment is hidden because it contains spoiler information about the solution
It isn't best practice to use magic numbers. I know it's fairly obvious what the numbers mean, but it's a bad habit to get into.