Python_Institute
PCPP-32-101 · Question #64
When writing function names according to PEP 8, which style should be used?
The correct answer is B. snake_case. You've hit your limit · resets 5am (America/New_York)
PEP and Best Practices
Question
When writing function names according to PEP 8, which style should be used?
Options
- ACamelCase
- Bsnake_case
- CUPPERCASE
- Dkebab-case
How the community answered
(48 responses)- A4% (2)
- B90% (43)
- C4% (2)
- D2% (1)
Explanation
You've hit your limit · resets 5am (America/New_York)
Topics
#PEP 8#naming conventions#snake_case#functions
Community Discussion
No community discussion yet for this question.