Cyber Monday 2023! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: CM25OFF
Welcome to Pass4Success

- Free Preparation Discussions

Python Institute Exam PCPP-32-101 Topic 2 Question 11 Discussion

Actual exam question for Python Institute's PCPP-32-101 exam
Question #: 11
Topic #: 2
[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.)


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


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


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


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

Show Suggested Answer Hide Answer


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

Save Cancel