File Manipulation

Hard 28 points

Create a file "test.txt" with content "Hello Python", then read and display its content.

Python can read and write files. open() opens a file, write() writes, read() reads, close() closes. with open() is recommended.

Well done! 🎉
Your answer is correct! You earned 28 points.
Not quite...
Try again! You can do it.
Your code Python
Result