Back to feed

Quiz: Writing Comments in Python

Real Python
Quiz: Writing Comments in Python

EDITOR BRIEF

This quiz checks your understanding of writing clear, useful comments in Python. It covers comment syntax, docstrings, and types of comments to avoid.

INSIGHTS

Knowing when and how to comment helps make code easier to understand. Take the quiz, then review any topics you find difficult.

CodeFriends courses that build on this story. Practice in the browser with nothing to install.

COMMENTS

0/40
0/2000

Loading comments…