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.

17 lines
598 B

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