0

Why is the reallines method not require in the for statement??

Readlines in For Loop

12th Oct 2016, 8:39 AM
Paul Obasi
Paul Obasi - avatar
1 Answer
+ 2
Because you have to store readlines in a variable. So once you have done example = filename.readlines() , your lines in the file are stored in example.
26th Oct 2016, 9:27 PM
hirammvp
hirammvp - avatar