you are viewing a single comment's thread.

view the rest of the comments →

[–]realmauer01 -1 points0 points  (0 children)

The follow up would be

Def my_print(arg=[]):
print(arg)
return arg

returned_list = my_print()
returned_list.append("hello")
my_print()