Puzzle 4: A Task to Do

Let’s exercise our minds by solving a Python heap puzzle.

We'll cover the following

Guess the output

Try to guess the output of the code below:

Get hands-on with 1000+ tech skills courses.