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.
 

16 lines
450 B

#!/usr/bin/env python3
#title :5-2.py
#description :Opdracht 5.2 - Functie met list-parameter
#author :Marcel Haazen
#email :marcel@haazen.xyz
#date :21-09-2019 - 23:58
#version :0.1
#usage :python3 5-2.py
#notes :
#python_version :3.7.4
#==============================================================================
def som(getallenLijst):
print(sum(getallenLijst))
som([1,2,7])