Intermediate Python Knowledge

Sets and Frozen Sets in Python — Elucidate Their Similarities and Differences

What will happen if sets are frozen?

Yong Cui
The Startup
Published in
8 min readMay 23, 2020

--

Photo by James Donovan on Unsplash

Like other modern programming languages (e.g., Swift and Kotlin), Python has a built-in data type set to store unique elements in an unordered manner. Extending upon the set data type, Python…

--

--

Yong Cui
The Startup

Work at the nexus of biomedicine, data science & mobile dev. Author of Python How-to by Manning (https://www.manning.com/books/python-how-to).