parent
5d3a17467a
commit
990163d0e3
@ -1,19 +0,0 @@
|
||||
from db import *
|
||||
|
||||
mode = input('mode: ')
|
||||
|
||||
words = []
|
||||
while True:
|
||||
temp = input()
|
||||
if temp == 'exit':
|
||||
break
|
||||
else:
|
||||
words.append(temp)
|
||||
|
||||
db = read()
|
||||
db[mode] = db[mode] + words
|
||||
write(db)
|
||||
|
||||
print("--------------")
|
||||
print("ADDED")
|
||||
print("--------------")
|
Loading…
Reference in new issue