PFP191_-_SU_2024_-_RE_2495.webp
vanbinh99

PFP191_-_SU_2024_-_RE_2495.webp

Kizspy | Question: 38 (Choose 1 answer)
What is the purpose of the following Python code?fhand = open('mbox.txt')x = 0 for line in fhand:x = x + 1
print x
A. Remove the leading and trailing spaces from each line in mbox.txt
B. Count the lines in the file 'mbox.txt'
C. Convert the lines in mbox.txt to upper case
D. Reverse the order of the lines in mbox.txt

Thông tin

Category
PFP191
Thêm bởi
vanbinh99
Ngày thêm
Lượt xem
873
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom