LU02.L01 - Summe einer Zahlenliste

def sum_of_numbers(numbers):
    return sum(numbers)
 
if __name__ == '__main__':
    numbers = [1, 2, 3, 4, 5]
    print('The sum of the numbers is:', sum_of_numbers(numbers))

© Kevin Maurizi

  • modul/m323/learningunits/lu02/loesungen/pure1.txt
  • Last modified: 2023/11/13 08:56
  • by 127.0.0.1