Q6.webp
H

Q6.webp

Kizspy | Question: 6
(Choose 1 answer)
FJOVERFLOW.COM
What is the purpose of the following Python code?
fhand
x=0
open('mbox.txt')
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
PRP201c
Thêm bởi
hoangha295
Ngày thêm
Lượt xem
1,391
Lượt bình luận
2
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom