Skip to content

Commit 39d7473

Browse files
author
vdz
committed
update brain_games
1 parent 0184d2a commit 39d7473

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

brain_games/games/brain_games.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
from brain_games.scripts.main import greet
2-
31
from brain_games.cli import welcome_user
42

5-
6-
def main():
7-
greet()
8-
welcome_user()
3+
def greet():
4+
print(f'Welcome to the Brain Games!')

brain_games/scripts/games.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from brain_games.cli import welcome_user
2-
from brain_games.scripts.main import greet
2+
from brain_games.games.brain_games import greet
33

44

55
def main():
6-
greet()
7-
welcome_user()
6+
welcome_user()
7+
greet()

0 commit comments

Comments
 (0)