Mar 19, 2022
If you were curious, this would turn to
def add_element(list = None):
If type(list) == None:
list = []
To correctly represent this without mutating the list implicitly, or rather by accident.
If you were curious, this would turn to
def add_element(list = None):
If type(list) == None:
list = []
To correctly represent this without mutating the list implicitly, or rather by accident.
i am a computer nerd. I love art, programming, and hiking. https://github.com/emmaccode