Python-oefening

Average Problem

Meld je aan om je oplossing in te dienen en feedback te krijgen.

def summate(values: list[int]) -> int: total = 0 for value in values: total = total + value return total def count(values: list[int]) -> int: total = 0 for value in values: total = total + 1 return total