Skip to content

Commit 0363242

Browse files
committed
all changes 6-th step of project
1 parent a3dffad commit 0363242

19 files changed

+135
-37
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33

44
<a href="https://codeclimate.com/github/ttehasi/python-project-49/maintainability"><img src="https://api.codeclimate.com/v1/badges/0196f25b462ce6f82ac1/maintainability" /></a>
55

6-
https://asciinema.org/a/5JkOomCYitwZ5YMmXGrbKf7vO
6+
brain_even: https://asciinema.org/a/5JkOomCYitwZ5YMmXGrbKf7vO
7+
8+
brain_calc: https://asciinema.org/a/daDnWV3XC3pNoNAFgOneXFrU7
132 Bytes
Binary file not shown.

brain_games/cli.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import prompt
22

33

4-
def welcome_user():
4+
def get_username():
55
name = prompt.string('May I have your name? ')
6-
return f'Hello, {name}!'
6+
return name
7+
8+
9+
def welcome_user():
10+
return f'Hello, {get_username()}!'
-1.49 KB
Binary file not shown.

brain_games/scripts/brain_even.py

Lines changed: 0 additions & 32 deletions
This file was deleted.

brain_games/scripts/games/__init__.py

Whitespace-only changes.
166 Bytes
Binary file not shown.
892 Bytes
Binary file not shown.
885 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)