Report Bug
Qus :

What will be the output of the following code ?

f=open("demo.txt","w+")
f.write("Welcome to python")
f.seek(5)
a=f.read(5)
print(a)

Qus

निम्नलिखित कोड का आउटपुट क्या होगा ?

f=open("demo.txt","w+")
f.write("Welcome to python")
f.seek(5)
a=f.read(5)
print(a)


A. Welco
B. me to
C. Welcome to Python
D. e to


Solution
B. me to






Report Bug