mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-11-01 16:24:20 -08:00
added: Python Comments
This commit is contained in:
1 parent
8ec2267167
commit
96f9b643f4
1 file changed
+17
@@ -125,6 +125,23 @@
|
||||
| \|= | bitwise or and store|
|
||||
| , | separator as in ( y=x,z=++x )|
|
||||
|
||||
<br>
|
||||
|
||||
## 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!")
|
||||
|
||||
<br>
|
||||
|
||||
### Basic Data Structures
|
||||
|
||||
### List
|
||||
|
||||
Reference in new issue
Block a user