โœ๏ธReading, Writing & Appending FilesWORKSHOP
1
2
3
4
5

Step 1

Write a script that creates a file called `notes.txt`, writes 5 lines to it (each ending with `\n`), then reads it back and prints the line count and each line numbered. Use `with open(...)` for both writing and reading.

โŒ˜ Enter (Mac) ยท Ctrl+Enter (Win/Linux)