Do the collections interfaces in the #Python stdlib confuse you? This diagram from https://www.oreilly.com/library/view/fluent-python-2nd/9781492056348/ch01.html might help:
@nedbat See also:
https://qoto.org/@peterdrake/109255444097688255
CleverLibre Social is an inclusive social instance for open discussion, learning, and community. All cultures welcome. Hate speech and harassment strictly forbidden.