Report Bug

Qus

What will be the output?

f = open("test.txt", "w")
f.write("Python")
f.seek(0)
print(f.read())
Qus

इसका परिणाम क्या होगा?

f = open("test.txt", "w")
f.write("Python")
f.seek(0)
print(f.read())


A. Python
B. Empty String
C. UnsupportedOperation Error
D. None


Solution
C. UnsupportedOperation Error



Latest Current Affairs 2026 Online Exam Quiz for One day Exam Online Typing Test CCC Online Test Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Online MBA 2 years Online MCA Online BCA Best Website and Software Company in Allahabad