예제 #1
0
def game_beginning(game_name):
    name = greeting(game_name)

    for i in range(ROUNDS_COUNT):
        data, correct_answer, _ = game_name()
        ask_question(data)
        answer = string("Your answer: ")
        if answer != correct_answer:
            print(
                f"""{answer} is wrong answer ;(. Correct answer was {correct_answer}
                        Let's try again, {name}!""")
            return
        print('Correct!')
    print(f'My Congratulations, {name}')
예제 #2
0
def main():
    """Run this script."""
    greeting()
def main():
    greeting()
def main():
    cli.greeting()
    cli.welcome_user()
예제 #5
0
def main():
    cli.greeting()