Skip to content

Commit 6e96bc3

Browse files
committed
minor fixes
1 parent 8a72b58 commit 6e96bc3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

04_Day_Strings/04_strings.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ print(challenge.expandtabs(10)) # 'thirty days of python'
328328

329329
```py
330330
challenge = 'thirty days of python'
331-
print(challenge.find('y')) # 5
332-
print(challenge.find('th')) # 0
331+
print(challenge.find('y')) # 16
332+
print(challenge.find('th')) # 17
333333
```
334334

335335
- rfind(): Returns the index of the last occurrence of a substring, if not found returns -1

05_Day_Lists/day_5.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
last_index = len(fruits) - 1
3232
last_fruit = fruits[last_index]
3333

34-
# Accessing itmes
34+
# Accessing items
3535
fruits = ['banana', 'orange', 'mango', 'lemon']
3636
last_fruit = fruits[-1]
3737
second_last = fruits[-2]

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
| 10 | [Loops](./10_Day_Loops/10_loops.md)|
1515
| 11 | [Functions](./11_Day_Functions/11_functions.md)|
1616
| 12 | [Modules](./12_Day_Modules/12_modules.md)|
17-
| 13 | [List Comprehension](../13_Day_List_comprehension/13_list_comprehension.md)|
17+
| 13 | [List Comprehension](./13_Day_List_comprehension/13_list_comprehension.md)|
1818
| 14 | [Higher Order Functions](./14_Day_Higher_order_functions/14_higher_order_functions.md)|
1919
| 15 | [Python Type Errors](./15_Day_Python_type_errors/15_python_type_errors.md)|
2020
| 16 | [Python Date time](./16_Day_Python_date_time/16_python_datetime.md) |

0 commit comments

Comments
 (0)