Medium

Why is `with open(‘data.txt’) as f:` preferred for many file-reading tasks?

Question

Why is `with open(‘data.txt’) as f:` preferred for many file-reading tasks?

Select an option. Your answer will be checked instantly.

More MCQs

Leave a Reply

Your email address will not be published. Required fields are marked *