Python_Institute
PCPP-32-101 · Question #16
Which of the following examples using line breaks and different indentation methods are compliant with PEP 8 recommendations? (Choose two.) A. B. C. D.
Sign in or unlock PCPP-32-101 to reveal the answer and full explanation for question #16. The question stem and answer options stay visible for context.
PEP and Best Practices
Question
Which of the following examples using line breaks and different indentation methods are compliant with PEP 8 recommendations? (Choose two.) A. B. C. D.
Exhibit
Options
- Aspam = my_function(arg_one, arg_two, arg_three, arg_four)
- Beggs = (1, 2, 3, 4, 5, 6)
- Cmy_list = [ 1, 2, 3, 4, 5, 6, ]
- Dfoo = my_function ( arg_one, arg_two, arg_three, arg_four )
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.
Topics
#PEP 8#line breaks#indentation#code formatting
