0
Why is the reallines method not require in the for statement??
Readlines in For Loop
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.