1. Home
  2. Data Science
  3. Python
  4. What is PEP 8 in Python?

Added 25 Nov 2026

What is PEP 8 in Python?

  1. The Python style guide for writing readable code Correct answer
  2. A Python package manager
  3. A built-in Python module
  4. The Python license

Correct answer

A. The Python style guide for writing readable code

5 views

MCQSEXAM

Explanation

PEP 8 is the official style guide covering naming, indentation and layout.

Reference

Asked in: Python Interview Basics

https://docs.python.org/3/tutorial/introduction.html

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Python MCQs

Practise all Python MCQs

Similar MCQs