Question

How do you open a file in read mode in Python?

A open("file.txt", "w")
B open("file.txt", "r")
C open("file.txt", "a")
D open("file.txt", "x")
E open("file.txt", "t")
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)