The code below is supposed to write years from 2010 to 2020 to the file years.txt. However, something's wrong with the code.
Find the mistake and fix it.
Tip: You cannot access the file after it's been closed.
The code below is supposed to write years from 2010 to 2020 to the file years.txt. However, something's wrong with the code.
Find the mistake and fix it.
Tip: You cannot access the file after it's been closed.
Create a free account to access the full topic