Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- scoreList = []
- for x in range(10):
- score = input("Enter your test score: ")
- scoreList.append(score)
- print(scoreList)
- f = open("CompSciScores.txt", "a")
- for x in range(10):
- f.write(scoreList[x
- ]+"\n")
- f.close
- f = open("CompSciScores.txt", "r")
- print(f.read())
- f.close
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement