The description says: "Return the height as multiple of the ball diameter." So the exact value of diameter is not needed, you just need to tell how many ball heights is the whole pyramid.
If it helps anything, you can assume the diameter to be always 1.
The description says: "Return the height as multiple of the ball diameter." So the exact value of diameter is not needed, you just need to tell how many ball heights is the whole pyramid.
If it helps anything, you can assume the diameter to be always 1.
How am I supposed to know the diameter of the sphere, or any dimensions whatsoever...?
No, they're spheres, not cubes.
I don't understand this challenge? It seems insufficient data is provided. Wouldn't the layers be equal to the height?
Clever, but clunky.
list = [*string] is the same as list = list(string)
I feel so, so stupid.
This comment is hidden because it contains spoiler information about the solution
Needlessly complicated but pretty cool