Skip to content

Commit aead9e2

Browse files
part 5 finished + part 6 created
1 parent 4aabfb2 commit aead9e2

File tree

4 files changed

+36
-7
lines changed

4 files changed

+36
-7
lines changed

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,9 @@
3131
1. [More lists](https://github.com/antoniolopez7217/Python_Programming_MOOC/tree/main/part5/1.%20More%20lists)
3232
2. [References](https://github.com/antoniolopez7217/Python_Programming_MOOC/tree/main/part5/2.%20References)
3333
3. [Dictionary](https://github.com/antoniolopez7217/Python_Programming_MOOC/tree/main/part5/3.%20Dictionary)
34-
4. [Tuple](https://github.com/antoniolopez7217/Python_Programming_MOOC/tree/main/part5/4.%20Tuple)
34+
4. [Tuple](https://github.com/antoniolopez7217/Python_Programming_MOOC/tree/main/part5/4.%20Tuple)
35+
36+
### Part 6
37+
1. Reading files
38+
2. Writing files
39+
3. Handling errors

part5/4. Tuple/letter_square.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
left = left + alphabet[next_char]
3535
right = alphabet[next_char] + right
3636
chars_between -= 2
37-
print(left+alphabet[next_char] * chars_between + right)
37+
print(left + alphabet[next_char] * chars_between + right)
3838
next_char -= 1
3939
while next_char <= layers - 1:
4040
print(left + alphabet[next_char] * chars_between + right)

part5/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
8. [Movie database](https://github.com/antoniolopez7217/Python_Programming_MOOC/blob/main/part5/3.%20Dictionary/movie_database.py)
2727
9. [Find movies](https://github.com/antoniolopez7217/Python_Programming_MOOC/blob/main/part5/3.%20Dictionary/find_movies.py)
2828
### Tuple
29-
1. [Create a tuple]()
30-
2. [The oldest person]()
31-
3. [Older people]()
32-
4. [Student database]()
33-
5. [A square of letters]()
29+
1. [Create a tuple](https://github.com/antoniolopez7217/Python_Programming_MOOC/blob/main/part5/4.%20Tuple/create_tuple.py)
30+
2. [The oldest person](https://github.com/antoniolopez7217/Python_Programming_MOOC/blob/main/part5/4.%20Tuple/oldest_person.py)
31+
3. [Older people](https://github.com/antoniolopez7217/Python_Programming_MOOC/blob/main/part5/4.%20Tuple/older_people.py)
32+
4. [Student database](https://github.com/antoniolopez7217/Python_Programming_MOOC/blob/main/part5/4.%20Tuple/student_database.py)
33+
5. [A square of letters](https://github.com/antoniolopez7217/Python_Programming_MOOC/blob/main/part5/4.%20Tuple/letter_square.py)
3434

3535
*All subjects are included as comments within the file of each exercise.*

part6/README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Part 6
2+
## Programming exercises
3+
### Reading files
4+
1. Largest number
5+
2. Fruit market
6+
3. Matrix
7+
4. Course grading, part 1
8+
5. Course grading, part 2
9+
6. Course grading, part 3
10+
7. Spell checker
11+
8. Recipe search
12+
9. City bikes
13+
### Writing files
14+
1. Inscription
15+
2. Diary
16+
3. Filtering the contents of a file
17+
4. Store personal data
18+
5. Course grading, part 4
19+
6. Word search
20+
7. Dictionary stored in a file
21+
### Handling errors
22+
1. Reading input
23+
2. Parameter validation
24+
3. Incorrect lottery numbers

0 commit comments

Comments
 (0)