CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 117: PCEP-30-02: PCEP – Certified Entry-Level Python Programmer

Analyze the following code fragments that assign a boolean value to the variable even?

Nội dung câu hỏi

Analyze the following code fragments that assign a boolean value to the variable even?

Minh họa câu hỏi

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. All three are correct, but Code-2 is preferred.
  2. B. All three are correct, but Code-3 is preferred. — đáp án hiện tại
  3. C. Code-3 has a syntax error because you attempt to assign a number to even.
  4. D. All three are correct, but Code-1 is preferred.
  5. E. Code-2 has a syntax error because you cannot have True and False literals in the conditional expression.

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề