A
Q. What will this code snippet output?
file = open('file.txt', 'w')
file.write('Hello')
print(file.tell())
Code:
file = open('file.txt', 'w')
file.write('Hello')
print(file.tell())
file.write('Hello')
print(file.tell())
- Correct Answer - Option(B)
- Views: 26
- Filed under category Python
- Hashtags:
Discusssion
Login to discuss.