In this lesson, you’ll see some of the problems you could run into if you use mutable data structures to store your data set. Then, you’ll see how you can approach this data set with immutable data sctrutures.
You’ll learn how you can use .namedtuple()
from the collections
module, which is built into Python, in order to represent your data in an immutable data structure so it can’t be modified in-place.
MrMaul on Dec. 7, 2019
Which editor is being used in the video?