PFP191Xuất hiện trong 1 đề thi
What is the purpose of the following Python code? ```python fhand = open('mbox.txt') x = 0 for line in fhand: x = x + 1 print x ```
Các lựa chọn
ARemove the leading and trailing spaces from each line in mbox.txt
BCount the lines in the file 'mbox.txt'
CConvert the lines in mbox.txt to upper case
DReverse the order of the lines in mbox.txt