Câu 7: PCPP-32-101: Certified Professional in Python Programming 1
Select the true statements related to PEP 8 naming conventions. (Choose two.)
Nội dung câu hỏi
Select the true statements related to PEP 8 naming conventions. (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. Function and variable names should be lower-case with words separated by underscores. — đáp án hiện tại
- B. You should always use self as the first argument to instance methods, and cls as the first argument to class methods. — đáp án hiện tại
- C. Modules should have short names written in CamelCase.
- D. Constants should be written in all lower-case letters with words separated by underscores.
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.