Write the output of the following:
f=open("test.txt","w+")
L = ["My name
", "is
", "Amit"]
f.writelines(L)
f.seek(0)
a=f.readlines()
print(type(a))1.<class ‘tuple’>
2.<class ‘list’>
3.<class ‘string’>
4.None of the above
Answer:2
Posted Date:-2021-12-12 00:33:47