We use Python 3.6

go back Level: Beginner (img: BG / score: 2) level Bite 32. Don't let mutability fool you

68 out of 68 users completed this Bite ...
Will you be Pythonista #69 to crack this Bite?
Average Bite difficulty 1-10 rating: 2.0
» You can do it! 😌

In this Bite you are presented with a function that copies the given items data structure.

There is a problem though, the tests fail. Can you fix it?

This can be done in a one liner. If you know which module to use it will be easy, if not you will learn something new today.

Regardless we want you to think about Python's mutability. Have fun!

Github login button