notas-tsfc/lista-ch.py

9 lines
126 B
Python
Raw Permalink Normal View History

2023-02-22 00:07:05 +01:00
def DoChange(aList):
aList.append(4)
return aList
aList = [1, 2, 3]
print(aList)
print(DoChange(aList))
print(aList)