Friday, October 29, 2021

Syntax and Comments in PYTHON

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.


If you want to learn about basic syntax and comments in Python, So here is the video which is based on Python Syntax and Comments.





If you are a beginner and want to learn Python from basics so here is the full series which is for absolute beginners, check out the link below πŸ‘‡πŸ‘‡





If you want to learn other programming languages from basics so check our Youtube channelπŸ‘‡πŸ‘‡




No comments:

Post a Comment

Ethical Hacking Techniques: Cracking WPA/WPA2 Wi-Fi Using WPS and Capturing Handshakes

In the realm of cyber security, ethical hacking plays a crucial role in identifying and addressing vulnerabilities. One of the areas where e...