Look at the following examples of comments and docstrings in Python Select the ones that are useful and compliant with PEP 8 recommendations (Select the two best answers.)
A)

B)

C)

D)

Suggested Answer: B, D
Get Premium PCPP-32-101 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
According to PEP 8 recommendations, the two best options areOption BandOption D.
11 comments · newest first
DI
Dick
1 year ago
Option B is just too vague for my taste.
VE
Verdell
1 year ago
Wait, are we sure about Option D? Looks off to me.
WI
William
1 year ago
I think Option C is better than B.
GL
Gladys
1 year ago
Totally agree, A is the best choice!
AV
Avery
1 year ago
Option A has clear docstrings.
LY
Lyla
1 year ago
I feel like A is definitely not compliant, but I can't recall if C or D is better.
RE
Rene
1 year ago
I’m leaning towards B and D, but I’m a bit confused about the indentation rules in PEP 8.
LA
Lauryn
1 year ago
I remember we practiced a similar question, and I think C had a good docstring style.
MA
Malcom
1 year ago
I think options A and B might be the best, but I'm not entirely sure about the formatting in A.
LA
Latricia
1 year ago
I'm a little confused by the terminology in this question. What exactly is the EPN, and how does it relate to OEP? I'll need to make sure I understand the fundamentals before I can confidently select the correct statements.
RI
Rikki
1 year ago
I'm leaning towards option A. Creating two separate opportunity record types with their own sales processes and page layouts seems like the best way to handle the distinct selling methodologies.