Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import statistics
- import random
- test_scores = []
- for i in range(30):
- score = random.randint(4,10)
- test_scores.append(score)
- print(test_scores)
- print("Mean of test scores:",statistics.mean(test_scores))
Advertisement
Add Comment
Please, Sign In to add comment