Which programming language is this?
with open('data.txt') as f:
data = f.read()
Answer: Python
The with statement (context manager) is characteristic of Python.
Play Programming Languages ▸
with open('data.txt') as f:
data = f.read()
Answer: Python