Chapter: Problem Solving and Python Programming : Data, Expressions, Statements

Comments - Python

Comments indicate Information in a program that is meant for other programmers.

Comments

Comments indicate Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program In Python, we use the hash (#) symbol to start writing a comment.

Eg:  

#This is a comment

#print out Hello

print('Hello')

Study Material, Lecturing Notes, Assignment, Reference, Wiki description explanation, brief detail
Problem Solving and Python Programming : Data, Expressions, Statements : Comments - Python |

Related Topics

Problem Solving and Python Programming : Data, Expressions, Statements


Privacy Policy, Terms and Conditions, DMCA Policy and Compliant

Copyright © 2018-2023 BrainKart.com; All Rights Reserved. Developed by Therithal info, Chennai.