You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

18 lines
598 B

#!/usr/bin/env python3
#title :5-6.py
#description :Opdracht 5.6 - Functie met (im)mutable parameter
#author :Marcel Haazen
#email :marcel@haazen.xyz
#date :23-09-2019 - 11:37
#version :0.1
#usage :python3 5-6.py
#notes :Sorry ik was lam
#python_version :3.7.4
#==============================================================================
lijst = ['a', 'b', 'c']
def wijzig(letterlijst):
# Overwrite letterlijst met de Output array, Works with everything :P
letterlijst = ["d","e","f"]
print(letterlijst)
wijzig(lijst)