我是一个Python初学者,我有一个任务,我需要创建我自己的函数来查找列表的和和平均值。, line 120, in samplesumTypeError: unsupported operand type(s) for +: 'int'TypeError: unsupported operand type(s) for +: 'int' and 'str'
我做错了什么?更新:正如一些评论指出
def entree_liste(): liste_nombre = int(input("Enter list of number separatefor chiffre in range(liste_nombre): print(liste_entier)
我的错误liste_nombre = int(input("Enter list of num