nerdexam
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)
  • A
    4% (2)
  • B
    90% (43)
  • C
    4% (2)
  • D
    2% (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.

Full PCPP-32-101 Practice