Below you can see a code snippet for working with a file. However, a crucial line of code is missing. Add the missing line to the code.
Files in Python
Missing
Report a typo
Write a program in Python 3
file = open('test_file.txt', 'w')
file.write('This line will be in the file!')
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.