Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions de-DE/code/starter/project_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
name: "Python bytes - Disgusting Dishes"
identifier: "python-bytes-disgusting-dishes"
type: python
build: true
Binary file added de-DE/images/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 31 additions & 0 deletions de-DE/mentor.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Mentor Notes: Disgusting Dishes

## Project Overview

Learners create a funny, gross-out recipe using `print()` in Python.
They practise using strings, line breaks, and emojis to output a full recipe card.

---

## What Learners Will Practise

- Using `print()` to display text
- Writing and formatting strings
- Choosing between single `' '` and double `" "` quotes
- Creating sequential, readable program output

---

## Teaching Tips

- Let learners suggest ingredients or vote on the grossest ideas
- Remind them that each `print()` starts a new line
- Demonstrate how an apostrophe in a word like "Don't" requires double quotes

---

## Extension Ideas

- Add a title for the dish (e.g. "Rotten Ratatouille")
- Include random selection (if they’ve learned `random.choice`)
- Turn the recipe into a short performance or video
20 changes: 20 additions & 0 deletions de-DE/meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
title: Python bytes - Disgusting dishes
hero_image: images/banner.png
description: Make your own disgusting recipe using print statements and emojis in Python!
meta_title: Learn to code with Disgusting Dishes | Raspberry Pi Foundation
meta_description: Learn Python with the Raspberry Pi Foundation. Code a recipe card that’s deliciously disgusting!
version: 1
listed: true
copyedit: false
last_tested: "2025-04-14"
steps:
- title: step_1
- title: step_2
completion:
- engaged
- title: step_3
- title: step_4
- title: step_5
completion:
- internal
- external
19 changes: 19 additions & 0 deletions de-DE/solutions/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
print('🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮')
print()

print('🧠 Ingredients:')
print(' - 1 cup of toenail clippings 🦶')
print(' - 2 rotten eggs 🥚')
print(' - A handful of belly button fluff 🤏')
print(' - 3 eyeballs 👁️👁️👁️')
print(' - Green slime to taste 🧪')
print()

print('🧪 Instructions:')
print('1. Mix the toenails and eggs in a dirty sock.')
print('2. Sprinkle in the belly button fluff.')
print('3. Stir in the eyeballs until they stare back at you.')
print('4. Drizzle with slime and serve cold. ❄️')
print()

print("💀 WARNING: Don't eat this unless you're a zombie!")
57 changes: 57 additions & 0 deletions de-DE/step_1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
<h2 class="c-project-heading--task">Print a disgusting welcome</h2>

\--- task ---

Use <code>print()</code> to show a welcome message for your disgusting recipe card.

\--- /task ---

<h2 class="c-project-heading--explainer">Set the scene</h2>

You've just been hired as the printer for a very strange restaurant.
Your job? To print out disgusting recipe cards for their latest menu!

In Python, text is called a <strong>string</strong>. You can make Python show a string on screen using <code>print()</code>.
Each time you use <code>print()</code>, Python starts a new line in the output.

Start by printing a welcome message for your disgusting dish.

<div class="c-project-code">
--- code ---
---
language: python
filename: main.py
line_numbers: true
line_number_start: 1
line_highlights: 1-2
---

print('🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮')
print()

\--- /code ---

</div>

<div class="c-project-output">
<pre>🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮</pre>
</div>

<div class="c-project-callout c-project-callout--tip">

### Tip

Try adding your own emojis or changing the words in your welcome message!<br />
Some fun emoji to try: 🤢 🤮 🧠 🦠 💀 🐛 👃<br />
Add your own emoji by pressing `⊞ Win` + `.` on Windows or `⌘ Cmd` + `Ctrl` + `Space` on macOS.

</div>

<div class="c-project-callout c-project-callout--debug">

### Debugging

- Did you forget the brackets in <code>print()</code>?<br />
- Make sure your message is inside quotes

</div>
58 changes: 58 additions & 0 deletions de-DE/step_2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<h2 class="c-project-heading--task">Add an ingredients heading</h2>

\--- task ---

Use <code>print()</code> to add a heading and the first ingredient to your recipe card.

\--- /task ---

<h2 class="c-project-heading--explainer">Set the scene</h2>

Your restaurant recipe card needs a list of ingredients for each recipe card.
Add a heading that shows this section is about ingredients.

Then add your first disgusting item — remember to use <code>print()</code> again and to include some emoji!

<div class="c-project-code">
--- code ---
---
language: python
filename: main.py
line_numbers: true
line_number_start: 3
line_highlights: 3-4
---

print('🧠 Ingredients:')
print(' - 1 cup of toenail clippings 🦶')

\--- /code ---

</div>

<div class="c-project-output">
<pre>🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮

🧠 Ingredients:

- 1 cup of toenail clippings 🦶</pre>

</div>

<div class="c-project-callout c-project-callout--tip">

### Tip

Start your ingredient lines with a dash <code>-</code> and a space, just like a real list.<br />
You can change the ingredient to anything gross you like: 🧠 🦴 🐌

</div>

<div class="c-project-callout c-project-callout--debug">

### Debugging

- Did you put the ingredient inside quotes?<br />
- Did you remember to add <code>print()</code> for each line?

</div>
66 changes: 66 additions & 0 deletions de-DE/step_3.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<h2 class="c-project-heading--task">Add more gross ingredients</h2>

\--- task ---

Use more <code>print()</code> lines to add extra ingredients to your recipe.

\--- /task ---

<h2 class="c-project-heading--explainer">Set the scene</h2>

One ingredient isn't enough for your strange restaurant — they want the grossest recipes around!
Add more <code>print()</code> lines for extra ingredients.

Make sure each one goes on a new line and starts with a dash <code>-</code> to keep the list format.

<div class="c-project-code">
--- code ---
---
language: python
filename: main.py
line_numbers: true
line_number_start: 5
line_highlights: 5-9
---

print(' - 2 rotten eggs 🥚')
print(' - A handful of belly button fluff 🤏')
print(' - 3 eyeballs 👁️👁️👁️')
print(' - Green slime to taste 🧪')
print()

\--- /code ---

</div>

<div class="c-project-output">
<pre>🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮

🧠 Ingredients:

- 1 cup of toenail clippings 🦶
- 2 rotten eggs 🥚
- A handful of belly button fluff 🤏
- 3 eyeballs 👁️👁️👁️
- Green slime to taste 🧪</pre>

</div>

<div class="c-project-callout c-project-callout--tip">

### Tip

You can change these ingredients or add even more if you want!<br />
Ideas: 💩 🦠 🐙 🧠 🐌

</div>

<div class="c-project-callout c-project-callout--debug">

### Debugging

- Check you have quotes around each ingredient<br />
- Make sure each line starts with <code>print()</code><br />
- Remember to include brackets!

</div>
69 changes: 69 additions & 0 deletions de-DE/step_4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
<h2 class="c-project-heading--task">Add your first instructions</h2>

\--- task ---

Use <code>print()</code> to show the first two steps for your recipe.

\--- /task ---

<h2 class="c-project-heading--explainer">Set the scene</h2>

Your disgusting dish needs some instructions so the chef knows how to prepare it.
Use <code>print()</code> again to add numbered steps. Start with two steps.

Each step should be on its own line. Use numbers followed by a full stop to show the order.

<div class="c-project-code">
--- code ---
---
language: python
filename: main.py
line_numbers: true
line_number_start: 10
line_highlights: 10-12
---

print('🧪 Instructions:')
print('1. Mix the toenails and eggs in a dirty sock.')
print('2. Sprinkle in the belly button fluff.')

\--- /code ---

</div>

<div class="c-project-output">
<pre>🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮

🧠 Ingredients:

- 1 cup of toenail clippings 🦶
- 2 rotten eggs 🥚
- A handful of belly button fluff 🤏
- 3 eyeballs 👁️👁️👁️
- Green slime to taste 🧪

🧪 Instructions:

1. Mix the toenails and eggs in a dirty sock.
2. Sprinkle in the belly button fluff.</pre>

</div>

<div class="c-project-callout c-project-callout--tip">

### Tip

You can change the instructions to match your own ingredients!<br />
Make them as weird and disgusting as you like. 🧪🧦👅

</div>

<div class="c-project-callout c-project-callout--debug">

### Debugging

- Did you remember to use quotes and <code>print()</code>?<br />
- Make sure your numbers have a full stop after them<br />
- Each step should be a new <code>print()</code> line

</div>
Loading