Automation, Orchestration, and Scripting

A teammate's backup automation script is flagged by a PEP 8 linter. Which two changes bring the script into conformance with PEP 8? (Choose two.)

Choose 2 answers

Show the answer

Correct answersB. Name classes using CapWords styleE. Indent each nesting level with four spaces

PEP 8 calls for four spaces per indentation level and CapWords for class names. Functions use lowercase_with_underscores, not mixedCase, which PEP 8 allows only to retain compatibility with existing code.