-
Notifications
You must be signed in to change notification settings - Fork 0
/
db.py
56 lines (56 loc) · 1.93 KB
/
db.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
data = {
"books": [
{
"id": 0,
"title": "Python for Everybody. Exploring Data using Python 3",
"author": "Dr. Charles R. Severance",
"description": "Learn how to program with Python as a non-professional",
"chapters": {
"first_fifteen_chapters": [
"Why should you learn to write programs?",
"Variables, expressions, and statements",
"Conditional execution",
"Functions",
"Iteration",
"Strings",
"Files",
"Lists",
"Dictionaries",
"Tuples",
"Regular expressions",
"Networked programs",
"Using Web Services",
"Object-oriented programming",
"Using Databases and SQL"
]
},
"year": 2023
},
{
"id": 1,
"title": "Learn Python 3 The Hard Way. A Very Simple Introduction to the Terrifyingly Beautiful World of Computers and Code",
"author": "Zed A. Shaw",
"description": "In Learn Python 3 the Hard Way, you’ll learn Python by working through 52 brilliantly crafted exercises.",
"chapters": {
"first_fifteen_chapters": [
"Preface",
"Exercise 0 The Setup",
"Exercise 1 A Good First Program",
"Exercise 2 Comments and Pound Characters",
"Exercise 3 Numbers and Math",
"Exercise 4 Variables and Names",
"Exercise 5 More Variables and Printing",
"Exercise 6 Strings and Text",
"Exercise 7 More Printing",
"Exercise 8 Printing, Printing",
"Exercise 9 Printing, Printing, Printing",
"Exercise 10 What Was That?",
"Exercise 11 Asking Questions",
"Exercise 12 Prompting People",
"Exercise 13 Parameters, Unpacking, Variables"
]
},
"year": 2017
}
]
}