8000 Add solutions to section 1 exercises · cybryant/python-basics-exercises@07c7fce · GitHub
[go: up one dir, main page]

Skip to content

Commit 07c7fce

Browse files
committed
Add solutions to section 1 exercises
1 parent a12bfbf commit 07c7fce

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Ch 11.1 - Modules and Packages
2+
# Solution to Exercise 1
3+
4+
5+
def greet(name):
6+
print(f"Hello {name}!")
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Ch 11.1 - Modules and Packages
2+
# Solution to Exercise 2
3+
4+
import greeter
5+
6+
7+
greeter.greet("Real Python")

0 commit comments

Comments
 (0)
0