Nested while loop in Python programming language

3Shares