cjiayeealgorithmics

Electronic Grade Book

Dec 3rd, 2021
473
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. marks = [3, 5, 4, 2, 5, 5, 3, 5, 4, 4, 4]
  2. sum = 0
  3.  
  4. for i in marks:
  5.     sum = sum + i
  6.  
  7. print(sum/len(marks))
  8.  
Advertisement
Add Comment
Please, Sign In to add comment