Skip to content

Commit fc4cc93

Browse files
committed
исправления линтера
1 parent 14df339 commit fc4cc93

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

brain_games/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import prompt
22

3+
34
def welcome_user():
45
name = prompt.string('May I have your name? ')
56
print(f'Hello, {name}!')

brain_games/scripts/brain_games.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
from brain_games.cli import welcome_user
2+
3+
14
def greet():
25
print('Welcome to the Brain Games!')
36

4-
from brain_games.cli import welcome_user
57

68
def main():
79
greet()
810
welcome_user()
911

12+
1013
if __name__ == '__main__':
1114
main()

0 commit comments

Comments
 (0)