nerdexam
Python_Institute

PCPP-32-101 · Question #19

PCPP-32-101 Question #19: Real Exam Question with Answer & Explanation

Sign in or unlock PCPP-32-101 to reveal the answer and full explanation for question #19. The question stem and answer options stay visible for context.

Question

Select the true statements related to PEP 8 programming recommendations for code writing. (Choose two.)

Options

  • AYou should use the not ... is operator (e.g. if not spam is None:), rather than the is not operator
  • BYou should make object type comparisons using the isinstance() method (e.g. if isinstance(obj ,
  • CYou should write code in a way that favors the CPython implementation over PyPy, Cython, and
  • DYou should not write string literals that rely on significant trailing whitespaces, as they may be

Unlock PCPP-32-101 to see the answer

You've previewed enough free PCPP-32-101 questions. Unlock PCPP-32-101 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full PCPP-32-101 Practice