Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. scoreList = []
  2. for x in range(10):
  3. score = input("Enter your test score: ")
  4. scoreList.append(score)
  5. print(scoreList)
  6. f = open("CompSciScores.txt", "a")
  7. for x in range(10):
  8. f.write(scoreList[x
  9. ]+"\n")
  10. f.close
  11. f = open("CompSciScores.txt", "r")
  12. print(f.read())
  13. f.close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement