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 1 Question 7 Discussion

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

Look at the following code snippets and decide which ones follow PEP 8 recommendations for whitespaces in expressions and statements (Select two answers.)

A)

No whitespace immediately before the opening parenthesis that starts the list of arguments of a function call:

B)

A whitespace immediately before a comma, semicolon, and colon:

C)

No whitespace between a trailing comma and a following closing parenthesis:

D)

A whitespace immediately after the opening parenthesis that starts indexing or slicing:

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel