Câu 28: PCAP-31-03: Certified Associate in Python Programming
Assuming that the code below has been placed inside a file named code.py and executed successfully, which of the following expressions evaluate to True? (Choose two.)
Nội dung câu hỏi
Assuming that the code below has been placed inside a file named code.py and executed successfully, which of the following expressions evaluate to True? (Choose two.)
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.
- A. str(Object) = 'Object'
- B. __name__ == '__main__' — đáp án hiện tại
- C. len(ClassB.__bases__) == 1 — đáp án hiện tại
- D. ClassA.__module__ == 'ClassA'
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.