If you’re taking a class or course on Python, chances are that you need to deal with lists one way or another. Here’s a cheatsheet of useful list functions that may come in handy if you’re taking a Python test
Creating a List
To create a list in Python, we need to use square brackets. Note that we can put elements of whichever data type we want inside the list.