diff --git a/brain_games/cli.py b/brain_games/cli.py index 843a7ec..3f498d2 100644 --- a/brain_games/cli.py +++ b/brain_games/cli.py @@ -1,7 +1,7 @@ import prompt -def welcom_user(): +def welcome_user(): name = prompt.string('May I have your name? ') print(f'Hello, {name}!') return name diff --git a/brain_games/engine.py b/brain_games/engine.py index b95fe2c..b122c83 100644 --- a/brain_games/engine.py +++ b/brain_games/engine.py @@ -1,9 +1,9 @@ -from brain_games.cli import welcom_user +from brain_games.cli import welcome_user def brain_engine(game): print('Welcome to the Brain Games!') - name = welcom_user() + name = welcome_user() print(game.description) counter = 0 flag = True diff --git a/brain_games/scripts/brain_games.py b/brain_games/scripts/brain_games.py index 147d039..b52ee6c 100644 --- a/brain_games/scripts/brain_games.py +++ b/brain_games/scripts/brain_games.py @@ -1,11 +1,11 @@ #!/usr/bin/env python3 -from brain_games.cli import welcom_user +from brain_games.cli import welcome_user def main(): """Run code for the brain-games command.""" print("Welcome to the Brain Games!") - welcom_user() + welcome_user() if __name__ == '__main__':