Puzzles 23 to 26

Understand how to use slice assignment, default arguments, slicing, the length function, and nested lists in Python.

Puzzle 23

What is the output of the following code?

Note: Enter the output you guessed. If your guessed output is a list, enter each element of the list separated by a comma. Then, press the Run button, and your new Elo will be calculated. Don’t forget to save your Elo rating.

Get hands-on with 1200+ tech skills courses.