Drop links or images here to add them to the editor.
Er zijn enkele commando’s waarmee je snel enkele statistische gegevens kunt raadplegen uit een lijst.

Hieronder staat een lijst van cijfers met daaronder 4 mogelijke commando's:

cijfers = [1,2,3,4,5,6,7,8,9,0]
print (max(cijfers))
print (min(cijfers))
print (len(cijfers))
print (sum(cijfers))

Het resultaat van deze commmando's spreekt voor zich:

9
0
10
45