We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8501f6 commit 2de355fCopy full SHA for 2de355f
__build_booklist__.py
@@ -0,0 +1,32 @@
1
+w = """
2
++
3
+Building Machine Learning Systems with Python [eBook]
4
+
5
6
+Python for Secret Agents [eBook]
7
8
9
+Python 3 Object Oriented Programming [eBook]
10
11
12
+Learning Python Design Patterns [eBook]
13
14
15
+wxPython 2.8 Application Development Cookbook [eBook]"""
16
17
+books = []
18
+for line in w.split("\n"):
19
+ if line.startswith("+") or line == "":
20
+ pass
21
+ else:
22
+ books.append(line.replace(" [eBook]",""))
23
+books.sort()
24
25
+for book in books:
26
+ print(book)
27
28
+print(f"\n{ '-' * 20 }\nYou have { len(books) } books.")
29
30
31
32
0 commit comments