What is Syntax?
In computer science, the syntax of a computer language is the set of rules that defines the combinations of symbols that are considered to be correctly structured statements or expressions in that language.
This applies both to programming languages, where the document represents source code, and to markup languages, where the document represents data.
comments in Python?
A Python comment is a line of text that appears in a program but is not executed by the program. You can declare a comment using a hashtag (#). Comments can appear on a new line or at the end of an existing line of code.
Comments are used to explain how code works and for testing purposes.
No comments:
Post a Comment