Question

What does the ‘range(5)’ function in Python produce?

A A list with values from 1 to 5
B A list with values from 0 to 4
C A list with values from 0 to 5
D A list with a single value, 5
Practice Next

Relevant for Exams:

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)