What is the output for the given python code?
fp = open("sample2.txt", "w")
print(fp.tell())
fp.write('12345678')
print(fp.tell())
fp.close()
1
0
8
2
0
7
3
1
8
4
1
7
What is the output for the given python code?
fp = open("sample2.txt", "w")
print(fp.tell())
fp.write('12345678')
print(fp.tell())
fp.close()
0
8
0
7
1
8
1
7