We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14df339 commit fc4cc93Copy full SHA for fc4cc93
brain_games/cli.py
@@ -1,5 +1,6 @@
1
import prompt
2
3
+
4
def welcome_user():
5
name = prompt.string('May I have your name? ')
6
print(f'Hello, {name}!')
brain_games/scripts/brain_games.py
@@ -1,11 +1,14 @@
+from brain_games.cli import welcome_user
def greet():
print('Welcome to the Brain Games!')
-from brain_games.cli import welcome_user
7
8
def main():
9
greet()
10
welcome_user()
11
12
13
if __name__ == '__main__':
14
main()
0 commit comments