#python
Read more stories on Hashnode
Articles with this tag
Introduction Before going in, you should know the difference between mutable and immutable types in python. You can have a look at my article: [CS...
What are Immutable Dictionaries & Sets? Before reading this article, you should have an understanding of mutable and immutable types in python. You...
What is a magic method? Magic methods, also known as dunder methods (short for "double underscore"), are special methods in Python that start and end...
def greet(msg="Good morning!", name): return "Hi! " + name + ', ' + msg print(greet("John")) # Syntax Error print(greet("Mary", "How do you...
Introduction This article introduces concepts of mutability and immutability in computer science. It’s very important to understand it because it’s...