Menu

Readability - Quiz

1. In Python, how is a single line comment started?

With the # symbol
With the // symbols
With the /* symbols
With the -- symbols

2. Why should a programmer add comments to a program?

To explain what the code does to other programmers
To tell the computer which lines should be executed
To make the program run more quickly when executed
To remove the errors that the translator reports

Log in or sign-up to access the quiz



Don't have a login?

You can still revise this topic