Câu 10: PCPP-32-101: Certified Professional in Python Programming 1
Select the true statement about PEP 8 recommendations related to line breaks and binary operators.
Nội dung câu hỏi
Select the true statement about PEP 8 recommendations related to line breaks and binary operators.
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. It is recommended that you use line breaks before binary operators to improve code readability — đáp án hiện tại
- B. It is permissible to use line breaks before or after a binary operator, as long as the convention is consistent locally. However, for new code, it is recommended that break lines should be used only after binary operators.
- C. It is recommended that you use line breaks after binary operators to improve code readability
- D. There is no specific PEP 8 recommendation related to using line breaks with binary operators
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.