from taktyka_dialogu import Questions welcome = 'Witaj!' unknown = "Nie rozumiem." end = "Żegnaj!" def generator_jezyka_nautalnego(frame, question): if question != Questions.NONE: #ask additional questions if question == Questions.TIME: print("Z jakiego czasu?") else: #dont ask questions if frame['act'] == "hello": print(welcome) elif frame['act'] == "bye": print(end) else: print(unknown)