seed: curriculum content

This commit is contained in:
2026-05-07 14:32:44 +00:00
parent 9258534803
commit ec76f4f56b
100 changed files with 2846 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
---
type: challenge
title: "The Script"
xp: 25
duration: 20
difficulty: 1
---
# The Script
> **[INCOMING — Mission Control, Earth]**
>
> Cadet, real Python files hold *multiple* functions. Each one does
> a single, named job. The grader can call any of them by name.
>
> Implement two functions in the same file:
>
> - `hello()` returns `"From the script"`
> - `goodbye()` returns `"Out"`
>
> [END TRANSMISSION]
## Your Task
Open `starter/starter.py`. Replace each `pass` with the right
`return` statement.
## Objectives
- `hello()` returns `"From the script"`
- `goodbye()` returns `"Out"`

View File

@@ -0,0 +1,8 @@
def hello():
"""Return the string 'From the script'."""
pass
def goodbye():
"""Return the string 'Out'."""
pass

View File

@@ -0,0 +1,9 @@
from solution import hello, goodbye
def test_hello_returns_correct_string():
assert hello() == "From the script"
def test_goodbye_returns_correct_string():
assert goodbye() == "Out"