Files
  • main.py
main.py
1
2
3
x=[7,4,9,3,6,10] #Notas
w=[.1,.05,.25,.06,.09,.45] #Pesos
print(round(sum(i*j for i,j in zip(x,w)),6))