Skip to content

Commit c20bb03

Browse files
PassReference
1 parent 52d62ac commit c20bb03

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

PassReference

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
def set_list(list):
2+
list = ["a","b","c"]
3+
return list
4+
def add (list):
5+
list.append("d")
6+
return list
7+
my_list = ["e"]
8+
print(set_list(my_list))
9+
print(add(my_list))

0 commit comments

Comments
 (0)