def calc(): logic.greeting() print('What is the result of the expression?\n') logic.run_game(generate_question_answer_pair_calc)
def gcd(): logic.greeting() print('Find the greatest common divisor of given numbers.\n') logic.run_game(generate_question_answer_pair_gcd)
def prime(): logic.greeting() print('Answer "yes" if given number is prime. Otherwise answer "no".\n') logic.run_game(generate_question_answer_pair_prime)
def even(): logic.greeting() print('Answer "yes" if number even otherwise answer "no".\n') logic.run_game(generate_question_answer_pair)
def progression(): logic.greeting() print('What number is missing in the progression?\n') logic.run_game(generate_question_answer_pair_progression)