A
Q. What will this code do?
file = open('data.txt', 'r')
data = file.read()
file.close()
Code:
file = open('data.txt', 'r')
data = file.read()
file.close()
data = file.read()
file.close()
- Correct Answer - Option(B)
- Views: 24
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.