Câu hỏi
Chọn đáp án đúng nhất: i = 0; x = 0 while i < 10: if i%2 == 0: x += 1 i += 1 print(x) A. 2. B. 3. C. 4. D. 5.
Xác minh chuyên gia
Giải pháp
4.0(195 phiếu bầu)
Giáp Quânchuyên gia · Hướng dẫn 6 năm
Trả lời
<div class="question"><br /><div class="result"><br /><div><br /><p class="MsoNormal"><strong><span>Đáp án đúng là: </span></strong><strong><span>D</span></strong><span></span></p><br /><div><img alt="Chọn đáp án đúng nhất: i = 0; x = 0 while i < 10: if i%2 == 0: x += 1 i += 1 print(x) A. 2. B. 3. C. 4. D. 5. (ảnh 1)" src="https://static.questionai.vn/resource/qaiseoimg/202410/chn-p-n-ng-nht-i-0-x-0-i-lt-10-i2-0-x-1-i-1-printx-2-b-3-tFqo4mjcT7.jpg"/></div><br /></div><br /></div><br /></div>