0
I’m kinda stuck on line 8...
list=[] nombre=int (input("Quel est le nombre de notes?")) print(nombre) for i in range (nombre): Notes=int (input()) list.append(Notes) print("la somme de vos notes est:", sum(list) somme=int (sum(list)) #says error is here print(somme/nombre)
6 Respuestas
+ 1
The problem lies on this line
print("la somme de vos notes est:", sum(list)
You forgot to put a matching parentheses at the end.
print("la somme de vos notes est:", sum(list)) # <= add a ')'
+ 1
I’ve resolved it! thank you for your help
0
thanks!
0
I’ve changed it to ichigo(bleach)
it says that it’s a syntax errror on line 8 buuuuuuuuttt I don’t see any error soooo, what to do?
And this code is supposed to go onto my calculator so that I can use it to easily calculate my final grade
0
thanks!