Q. What is the correct way to write a for loop in Python?
β
Correct Answer: (B)
for i in range(5):
Explanation: Python uses `for i in range(5):` to loop 5 times. The C-style `for(i=0; i<5; i++)` is invalid in Python.