educative.io

Educative

Python Solution

The Python solution does not have enough comments. Can someone please tell me why do we need lines 60-63 in the solution?