πŸ“Š Problem Solving and Python Programming
Q. What is the use of tell() method in python?
  • (A) tells you the current position within the file
  • (B) tells you the end position within the file
  • (C) tells you the file is opened or not
  • (D) none of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) tells you the current position within the file

Explanation: the tell() method tells you the current position within the file; in other words, the next read or write will occur at that many bytes from the beginning of the file.


Explanation by: Mr. Dubey
the tell() method tells you the current position within the file; in other words, the next read or write will occur at that many bytes from the beginning of the file.

πŸ’¬ Discussion

πŸ“Š Question Analytics

πŸ‘οΈ
968
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate