Remove unnecessary code and update conversation

template in dialog_input.txt
This commit is contained in:
Looki2000 2023-11-13 23:03:08 +01:00
parent e4a7a2b962
commit 98007ce374
2 changed files with 6 additions and 4 deletions

View File

@ -135,9 +135,6 @@ while True:
not_ok = False
now_pizzeria = True
for line in dialog_input[python_end_idx:].splitlines():
if line == "" or line.startswith("#"):
continue
if line.startswith("piz ="):
if not now_pizzeria:
print("Wrong order of pizzeria (piz) and customer (bot) messages.")

View File

@ -18,6 +18,11 @@ order_items = [
# Write the conversation below.
# The conversation has to start with "piz" (short for pizzeria) and has to end with "bot".
# Do not use double quotes (") in the conversation. Just type the text next to the = sign.
'''
piz =
bot =
bot =
'''