I do not understand how the value of "variable_count" has been passed in this variable. If you can explain this to me, then I appreciate it !! Output prints each successive line. I understand how this line increases numbers (1, 2, 3, 4), but how exactly is it going to know where the data is being confusing me to print each string. On f.readline () , each line will be read from
f . After this, the file indicator of
f will be at the beginning of the next line, therefore, the program constantly reads the lines.
No comments:
Post a Comment