Q. How to read a file line by line using a loop? (A) for line in file (B) file.loop() (C) while file.has_line() (D) loop file.line() ποΈ Show Answer π¬ Discuss π Share β‘Menu β Correct Answer: (A) for line in file Explanation: Using a for loop is the recommended way to read line by line.