Q. What is the purpose of a Python comment?

A
To execute code
B
To add documentation
C
To define variables
D
To create loops
Solution:

Comments, starting with #, are used to add explanatory notes in code.

Entri Contact Image

Get Expert Advice for Free: Register for Your Free Consultation Now!

    [honeypot honeypot-100]