निम्नलिखित कथन में 'f' क्या है?
What is ‘f’ in the following statement ?
f=open(“Data.txt”, “r”)
A)
B)
C)
D)
Explanation:
In the statement:
f = open("Data.txt", "r")
f
is a file handle. It's a reference to the file that has been opened, allowing you to perform operations (like reading, writing) on the file.
So, the correct answer is:
Answer: (B) File Handle.