Skip to content

Commit

Permalink
Update python.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoroste authored Dec 13, 2024
1 parent f492659 commit ba8295c
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions python.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,14 +102,11 @@ s1 ^ s2 # Symmetric difference

```py
for i in range(4): # 0 to 3
for
i in range(4, 8): # 4 to 7
for i in range(1, 9, 2): # 1, 3, 5, 7 from 1 to 9-1 step by 2
for
item in lst: # List
for key, value in d.items(): # Dict
for
i, value in enumerate(lst): # With index
for i in range(4, 8): # 4 to 7
for i in range(1, 9, 2): # 1, 3, 5, 7 from 1 to 8 step by 2
for item in lst:
for key, value in dict.items():
for index, value in enumerate(lst):
```

### [String Manipulation](https://docs.python.org/2/library/stdtypes.html#string-methods)
Expand Down

0 comments on commit ba8295c

Please sign in to comment.