Answer the following questions (21 to 24) on the basis of ABOUT.txt file having the below content: |
What is the output of the statement |
A)
B) ['STUDY TRIGGER ?\n']
C) Whole content of the file.
D) None of the above
Correct Answer: A
Solution :
[a] readline() reads the first line of the file so, the output is STUDY TRIGGER ?\nYou need to login to perform this action.
You will be redirected in
3 sec