From 96f9b643f4fbdb363621e6ccbd71e5ef46ae039d Mon Sep 17 00:00:00 2001 From: Haaris <89451392+haaris272k@users.noreply.github.com> Date: Sat, 14 Jan 2023 21:42:41 +0530 Subject: [PATCH] added: Python Comments --- languages/python.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/languages/python.md b/languages/python.md index 1eaf23e..615b916 100644 --- a/languages/python.md +++ b/languages/python.md @@ -125,6 +125,23 @@ | \|= | bitwise or and store| | , | separator as in ( y=x,z=++x )| +
+ +## Comments + +- Comments are very helpful to explain a Python code. + +- They are used to make the code more readable. + +- They never get executed. + +- Comments start with # in Python + + #This is a comment ----> This is a comment + print("Welcome!") + +
+ ### Basic Data Structures ### List