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
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}!")
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)