seed: curriculum content
This commit is contained in:
31
1.solar-system/2.first-light/04.the-script/index.md
Normal file
31
1.solar-system/2.first-light/04.the-script/index.md
Normal 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"`
|
||||
Reference in New Issue
Block a user