Consider the following piece of Python code:
with open('reviews.txt', 'r') as f:
reviews = f.read()
with open('labels.txt', 'r') as f:
labels = f.read()
The goal is to replace the two with statements with a single with statement.
How can this be achieved?
withstatement corresponds to the thought 'get the reviews and labels'.