Python - File Handling Fundamentals
Find the error in this code snippet:
file = open('data.txt', 'r')
file.write('Hello')file = open('data.txt', 'r')
file.write('Hello')15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions