Python_Institute
PCPP-32-101 · Question #20
PCPP-32-101 Question #20: Real Exam Question with Answer & Explanation
Sign in or unlock PCPP-32-101 to reveal the answer and full explanation for question #20. The question stem and answer options stay visible for context.
Question
Select the true statements related to PEP 8 naming conventions. (Choose two.)
Options
- AFunction and variable names should be lower-case with words separated by underscores.
- BYou should always use self as the first argument to instance methods, and cls as the first
- CModules should have short names written in CamelCase.
- DConstants should be written in all lower-case letters with words separated by underscores.
Unlock PCPP-32-101 to see the answer
You've previewed enough free PCPP-32-101 questions. Unlock PCPP-32-101 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.