File tree 4 files changed +36
-7
lines changed
4 files changed +36
-7
lines changed Original file line number Diff line number Diff line change 31
31
1 . [ More lists] ( https://github.com/antoniolopez7217/Python_Programming_MOOC/tree/main/part5/1.%20More%20lists )
32
32
2 . [ References] ( https://github.com/antoniolopez7217/Python_Programming_MOOC/tree/main/part5/2.%20References )
33
33
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
Original file line number Diff line number Diff line change 34
34
left = left + alphabet [next_char ]
35
35
right = alphabet [next_char ] + right
36
36
chars_between -= 2
37
- print (left + alphabet [next_char ] * chars_between + right )
37
+ print (left + alphabet [next_char ] * chars_between + right )
38
38
next_char -= 1
39
39
while next_char <= layers - 1 :
40
40
print (left + alphabet [next_char ] * chars_between + right )
Original file line number Diff line number Diff line change 26
26
8 . [ Movie database] ( https://github.com/antoniolopez7217/Python_Programming_MOOC/blob/main/part5/3.%20Dictionary/movie_database.py )
27
27
9 . [ Find movies] ( https://github.com/antoniolopez7217/Python_Programming_MOOC/blob/main/part5/3.%20Dictionary/find_movies.py )
28
28
### 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 )
34
34
35
35
* All subjects are included as comments within the file of each exercise.*
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments