Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Python Institute Exam PCPP-32-101 Topic 9 Question 10 Discussion

Actual exam question for Python Institute's PCPP-32-101 exam
Question #: 10
Topic #: 9
[All PCPP-32-101 Questions]

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)

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Cyril
3 days ago
Option B and D look the most compliant with PEP 8. The comments are clear and concise, and the formatting is consistent.
upvoted 0 times
...
Marylin
8 days ago
I believe Option B is also compliant because it provides useful comments and follows the PEP 8 guidelines.
upvoted 0 times
...
Cherry
10 days ago
I agree with you, Ricarda. Option A and Option C have clear and concise docstrings.
upvoted 0 times
...
Ricarda
13 days ago
I think option A and option C are compliant with PEP 8 recommendations.
upvoted 0 times
...

Save Cancel