19 lines
510 B
Python
19 lines
510 B
Python
import acts as acts
|
|
|
|
welcome = 'Witaj!'
|
|
prompt = 'Zapytaj mnie o moje imię.'
|
|
resp = 'Nazywam się Dia.'
|
|
unknown = "Nie rozumiem."
|
|
|
|
def generator_jezyka_nautalnego(frames):
|
|
for frame in frames:
|
|
if frame == acts.hello_act:
|
|
print(welcome, end=" ")
|
|
elif frame == acts.name_response_act:
|
|
print(resp, end=" ")
|
|
elif frame == acts.help_response_act:
|
|
print(prompt, end=" ")
|
|
else:
|
|
print(unknown, end=" ")
|
|
print()
|