In this article, we’ll look at some antipatterns that we should avoid when we’re defining and using arrays, JSON, and regex.
A list is a mutable sequence of elements surrounded by square brackets. If you’re familiar with JavaScript, a Python list is like a JavaScript array.