logo

Crowdly

Browser

Add to Chrome

Consider the following Python code of 4 lines, with line numbers (not part of th...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Consider the following Python code of 4 lines, with line numbers (not part of the code) shown on the left. The objective is to write a string onto the file.

1 f = open('Out.txt', 'w')
2 f.write("this is the string")
3 ...........
4 print('Done...')

What should fill the blank at line 3 to make the code complete?

0%
0%
100%
0%
More questions like this

Want instant access to all verified answers on online.uom.lk?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome