Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit07c7fce

Browse files
committed
Add solutions to section 1 exercises
1 parenta12bfbf commit07c7fce

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+
defgreet(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+
importgreeter
5+
6+
7+
greeter.greet("Real Python")

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp