mirror of
https://github.com/LeCoupa/awesome-cheatsheets.git
synced 2026-01-28 22:28:02 -08:00
Compare commits
7 Commits
961049fc9e
...
2e2ca4ee5c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2e2ca4ee5c | ||
|
|
2aee46f169 | ||
|
|
22977d5ca1 | ||
|
|
a2c99c9674 | ||
|
|
9617317345 | ||
|
|
087d5d45a6 | ||
|
|
96f9b643f4 |
@@ -286,7 +286,7 @@ for(dataType item : array) {
|
||||
|
||||
### ACCESS MODIFIERS
|
||||
|
||||
1. defualt(No keyword required)
|
||||
1. default(No keyword required)
|
||||
2. private
|
||||
3. public
|
||||
4. protected
|
||||
|
||||
@@ -125,6 +125,27 @@
|
||||
| \|= | 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.
|
||||
|
||||
```python
|
||||
|
||||
#This is a comment
|
||||
|
||||
print("Welcome!")
|
||||
|
||||
```
|
||||
<br>
|
||||
|
||||
### Basic Data Structures
|
||||
|
||||
### List
|
||||
|
||||
Reference in New Issue
Block a user