QUESTION IMAGE
Question
complete the program.
infile = open(\fruit.txt\,
\)
print(strin)
Step1: Read the file content
strIn = inFile.read()
Step2: Close the file
inFile.close()
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
strIn = inFile.read()
inFile.close()