adds full 101-500 database

This commit is contained in:
waldek 2021-05-24 16:44:18 +02:00
parent 747f573201
commit 88f35d85e5
3 changed files with 2131 additions and 2 deletions

BIN
assets/screenshot_1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

2129
data/lpic1_book_101-500.csv Normal file

File diff suppressed because it is too large Load Diff

View File

@ -52,7 +52,7 @@ class Tui(object):
blank blank
""" """
answers = [] answers = []
results = input("What's your answer? (only numbers, separated by a SPACE) ") results = input("\n What's your answer? (only numbers, separated by a SPACE) ")
results = results.split() results = results.split()
for result in results: for result in results:
if result.isdigit(): if result.isdigit():
@ -115,7 +115,7 @@ class Application(object):
if __name__ == "__main__": if __name__ == "__main__":
filepath = pathlib.Path("./data/multiple.csv") filepath = pathlib.Path("./data/list_book1.csv")
interface = Tui() interface = Tui()
app = Application(filepath, interface) app = Application(filepath, interface)
try: try: