diff --git a/de-DE/code/starter/project_config.yml b/de-DE/code/starter/project_config.yml new file mode 100644 index 0000000..135be7a --- /dev/null +++ b/de-DE/code/starter/project_config.yml @@ -0,0 +1,4 @@ +name: "Python bytes - Disgusting Dishes" +identifier: "python-bytes-disgusting-dishes" +type: python +build: true diff --git a/de-DE/images/banner.png b/de-DE/images/banner.png new file mode 100644 index 0000000..63f08ff Binary files /dev/null and b/de-DE/images/banner.png differ diff --git a/de-DE/mentor.md b/de-DE/mentor.md new file mode 100644 index 0000000..6c1c36d --- /dev/null +++ b/de-DE/mentor.md @@ -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 diff --git a/de-DE/meta.yml b/de-DE/meta.yml new file mode 100644 index 0000000..1e3bc91 --- /dev/null +++ b/de-DE/meta.yml @@ -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 diff --git a/de-DE/solutions/main.py b/de-DE/solutions/main.py new file mode 100644 index 0000000..7b86f66 --- /dev/null +++ b/de-DE/solutions/main.py @@ -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!") \ No newline at end of file diff --git a/de-DE/step_1.md b/de-DE/step_1.md new file mode 100644 index 0000000..627e6c5 --- /dev/null +++ b/de-DE/step_1.md @@ -0,0 +1,57 @@ +

Print a disgusting welcome

+ +\--- task --- + +Use print() to show a welcome message for your disgusting recipe card. + +\--- /task --- + +

Set the scene

+ +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 string. You can make Python show a string on screen using print(). +Each time you use print(), Python starts a new line in the output. + +Start by printing a welcome message for your disgusting dish. + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+ +
+ +### Tip + +Try adding your own emojis or changing the words in your welcome message!
+Some fun emoji to try: 🤢 🤮 🧠 🦠 💀 🐛 👃
+Add your own emoji by pressing `⊞ Win` + `.` on Windows or `⌘ Cmd` + `Ctrl` + `Space` on macOS. + +
+ +
+ +### Debugging + +- Did you forget the brackets in print()?
+- Make sure your message is inside quotes + +
diff --git a/de-DE/step_2.md b/de-DE/step_2.md new file mode 100644 index 0000000..8479b79 --- /dev/null +++ b/de-DE/step_2.md @@ -0,0 +1,58 @@ +

Add an ingredients heading

+ +\--- task --- + +Use print() to add a heading and the first ingredient to your recipe card. + +\--- /task --- + +

Set the scene

+ +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 print() again and to include some emoji! + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+🧠 Ingredients:
+
+- 1 cup of toenail clippings 🦶
+ +
+ +
+ +### Tip + +Start your ingredient lines with a dash - and a space, just like a real list.
+You can change the ingredient to anything gross you like: 🧠 🦴 🐌 + +
+ +
+ +### Debugging + +- Did you put the ingredient inside quotes?
+- Did you remember to add print() for each line? + +
diff --git a/de-DE/step_3.md b/de-DE/step_3.md new file mode 100644 index 0000000..43f1da2 --- /dev/null +++ b/de-DE/step_3.md @@ -0,0 +1,66 @@ +

Add more gross ingredients

+ +\--- task --- + +Use more print() lines to add extra ingredients to your recipe. + +\--- /task --- + +

Set the scene

+ +One ingredient isn't enough for your strange restaurant — they want the grossest recipes around! +Add more print() lines for extra ingredients. + +Make sure each one goes on a new line and starts with a dash - to keep the list format. + +
+--- 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 --- + +
+ +
+
🤢 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 🧪
+ +
+ +
+ +### Tip + +You can change these ingredients or add even more if you want!
+Ideas: 💩 🦠 🐙 🧠 🐌 + +
+ +
+ +### Debugging + +- Check you have quotes around each ingredient
+- Make sure each line starts with print()
+- Remember to include brackets! + +
diff --git a/de-DE/step_4.md b/de-DE/step_4.md new file mode 100644 index 0000000..cfee47b --- /dev/null +++ b/de-DE/step_4.md @@ -0,0 +1,69 @@ +

Add your first instructions

+ +\--- task --- + +Use print() to show the first two steps for your recipe. + +\--- /task --- + +

Set the scene

+ +Your disgusting dish needs some instructions so the chef knows how to prepare it. +Use print() 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. + +
+--- 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 --- + +
+ +
+
🤢 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.
+ +
+ +
+ +### Tip + +You can change the instructions to match your own ingredients!
+Make them as weird and disgusting as you like. 🧪🧦👅 + +
+ +
+ +### Debugging + +- Did you remember to use quotes and print()?
+- Make sure your numbers have a full stop after them
+- Each step should be a new print() line + +
diff --git a/de-DE/step_5.md b/de-DE/step_5.md new file mode 100644 index 0000000..ff8f433 --- /dev/null +++ b/de-DE/step_5.md @@ -0,0 +1,96 @@ +

Finish the recipe and add a warning

+ +\--- task --- + +Print the last steps of your recipe and a final warning message using double quotes. + +\--- /task --- + +

Set the scene

+ +Your recipe is almost complete! Now add the final steps so the chef knows how to finish the dish. + +Then add a warning message at the end — it's so disgusting that only zombies should eat it! +This message uses an apostrophe in the word Don't, so you’ll need to use double quotes " " around the string. + +
+--- code --- +--- +language: python +filename: main.py +line_numbers: true +line_number_start: 13 +line_highlights: 13-16 +--- + +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!") + +\--- /code --- + +
+ +
+
🤢 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.
+3. Stir in the eyeballs until they stare back at you.
+4. Drizzle with slime and serve cold. ❄️
+
+💀 WARNING: Don't eat this unless you're a zombie!
+ +
+ +
+ +### Tip + +You can use single quotes ' ' for most strings, but if your text includes an apostrophe like Don't, you’ll need double quotes " " instead. + +
+ +
+ +### Debugging + +- Did you use double quotes around the warning message?
+- Each step should still be printed on a new line
+- Use print() for every message + +
+ +
+ +### Feedback + +This is a beta projects, which means it is brand new and not widely available. If you've tested this project on your own or with your club, let us know what you think. + + +Give feedback + +
diff --git a/es-419/code/starter/project_config.yml b/es-419/code/starter/project_config.yml new file mode 100644 index 0000000..135be7a --- /dev/null +++ b/es-419/code/starter/project_config.yml @@ -0,0 +1,4 @@ +name: "Python bytes - Disgusting Dishes" +identifier: "python-bytes-disgusting-dishes" +type: python +build: true diff --git a/es-419/images/banner.png b/es-419/images/banner.png new file mode 100644 index 0000000..63f08ff Binary files /dev/null and b/es-419/images/banner.png differ diff --git a/es-419/mentor.md b/es-419/mentor.md new file mode 100644 index 0000000..6c1c36d --- /dev/null +++ b/es-419/mentor.md @@ -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 diff --git a/es-419/meta.yml b/es-419/meta.yml new file mode 100644 index 0000000..1e3bc91 --- /dev/null +++ b/es-419/meta.yml @@ -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 diff --git a/es-419/solutions/main.py b/es-419/solutions/main.py new file mode 100644 index 0000000..7b86f66 --- /dev/null +++ b/es-419/solutions/main.py @@ -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!") \ No newline at end of file diff --git a/es-419/step_1.md b/es-419/step_1.md new file mode 100644 index 0000000..627e6c5 --- /dev/null +++ b/es-419/step_1.md @@ -0,0 +1,57 @@ +

Print a disgusting welcome

+ +\--- task --- + +Use print() to show a welcome message for your disgusting recipe card. + +\--- /task --- + +

Set the scene

+ +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 string. You can make Python show a string on screen using print(). +Each time you use print(), Python starts a new line in the output. + +Start by printing a welcome message for your disgusting dish. + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+ +
+ +### Tip + +Try adding your own emojis or changing the words in your welcome message!
+Some fun emoji to try: 🤢 🤮 🧠 🦠 💀 🐛 👃
+Add your own emoji by pressing `⊞ Win` + `.` on Windows or `⌘ Cmd` + `Ctrl` + `Space` on macOS. + +
+ +
+ +### Debugging + +- Did you forget the brackets in print()?
+- Make sure your message is inside quotes + +
diff --git a/es-419/step_2.md b/es-419/step_2.md new file mode 100644 index 0000000..8479b79 --- /dev/null +++ b/es-419/step_2.md @@ -0,0 +1,58 @@ +

Add an ingredients heading

+ +\--- task --- + +Use print() to add a heading and the first ingredient to your recipe card. + +\--- /task --- + +

Set the scene

+ +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 print() again and to include some emoji! + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+🧠 Ingredients:
+
+- 1 cup of toenail clippings 🦶
+ +
+ +
+ +### Tip + +Start your ingredient lines with a dash - and a space, just like a real list.
+You can change the ingredient to anything gross you like: 🧠 🦴 🐌 + +
+ +
+ +### Debugging + +- Did you put the ingredient inside quotes?
+- Did you remember to add print() for each line? + +
diff --git a/es-419/step_3.md b/es-419/step_3.md new file mode 100644 index 0000000..43f1da2 --- /dev/null +++ b/es-419/step_3.md @@ -0,0 +1,66 @@ +

Add more gross ingredients

+ +\--- task --- + +Use more print() lines to add extra ingredients to your recipe. + +\--- /task --- + +

Set the scene

+ +One ingredient isn't enough for your strange restaurant — they want the grossest recipes around! +Add more print() lines for extra ingredients. + +Make sure each one goes on a new line and starts with a dash - to keep the list format. + +
+--- 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 --- + +
+ +
+
🤢 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 🧪
+ +
+ +
+ +### Tip + +You can change these ingredients or add even more if you want!
+Ideas: 💩 🦠 🐙 🧠 🐌 + +
+ +
+ +### Debugging + +- Check you have quotes around each ingredient
+- Make sure each line starts with print()
+- Remember to include brackets! + +
diff --git a/es-419/step_4.md b/es-419/step_4.md new file mode 100644 index 0000000..cfee47b --- /dev/null +++ b/es-419/step_4.md @@ -0,0 +1,69 @@ +

Add your first instructions

+ +\--- task --- + +Use print() to show the first two steps for your recipe. + +\--- /task --- + +

Set the scene

+ +Your disgusting dish needs some instructions so the chef knows how to prepare it. +Use print() 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. + +
+--- 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 --- + +
+ +
+
🤢 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.
+ +
+ +
+ +### Tip + +You can change the instructions to match your own ingredients!
+Make them as weird and disgusting as you like. 🧪🧦👅 + +
+ +
+ +### Debugging + +- Did you remember to use quotes and print()?
+- Make sure your numbers have a full stop after them
+- Each step should be a new print() line + +
diff --git a/es-419/step_5.md b/es-419/step_5.md new file mode 100644 index 0000000..ff8f433 --- /dev/null +++ b/es-419/step_5.md @@ -0,0 +1,96 @@ +

Finish the recipe and add a warning

+ +\--- task --- + +Print the last steps of your recipe and a final warning message using double quotes. + +\--- /task --- + +

Set the scene

+ +Your recipe is almost complete! Now add the final steps so the chef knows how to finish the dish. + +Then add a warning message at the end — it's so disgusting that only zombies should eat it! +This message uses an apostrophe in the word Don't, so you’ll need to use double quotes " " around the string. + +
+--- code --- +--- +language: python +filename: main.py +line_numbers: true +line_number_start: 13 +line_highlights: 13-16 +--- + +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!") + +\--- /code --- + +
+ +
+
🤢 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.
+3. Stir in the eyeballs until they stare back at you.
+4. Drizzle with slime and serve cold. ❄️
+
+💀 WARNING: Don't eat this unless you're a zombie!
+ +
+ +
+ +### Tip + +You can use single quotes ' ' for most strings, but if your text includes an apostrophe like Don't, you’ll need double quotes " " instead. + +
+ +
+ +### Debugging + +- Did you use double quotes around the warning message?
+- Each step should still be printed on a new line
+- Use print() for every message + +
+ +
+ +### Feedback + +This is a beta projects, which means it is brand new and not widely available. If you've tested this project on your own or with your club, let us know what you think. + + +Give feedback + +
diff --git a/fr-FR/meta.yml b/fr-FR/meta.yml index e338dbd..ce5f1b2 100644 --- a/fr-FR/meta.yml +++ b/fr-FR/meta.yml @@ -1,9 +1,8 @@ ---- title: Python bytes - Plats dégoûtants hero_image: images/banner.png description: Crée ta propre recette dégoûtante en utilisant des instructions print et des emojis en 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! +meta_title: Apprendre à coder avec Plats dégoûtants | Raspberry Pi Foundation +meta_description: Apprends Python avec la Raspberry Pi Foundation. Crée une fiche de recette délicieusement dégoûtante ! version: 1 listed: true copyedit: false diff --git a/fr-FR/step_1.md b/fr-FR/step_1.md index d0b6c1d..ca069fa 100644 --- a/fr-FR/step_1.md +++ b/fr-FR/step_1.md @@ -1,10 +1,10 @@

Imprimer un accueil dégoûtant

---- task --- +\--- task --- Utilise print() pour afficher un message de bienvenue pour ta fiche de recette dégoûtante. ---- /task --- +\--- /task ---

Planter le décor

@@ -29,7 +29,7 @@ line_highlights: 1-2 print('🤢 Bienvenue dans le livre de recettes PLATS DÉGOÛTANTS ! 🤮') print() ---- /code --- +\--- /code --- diff --git a/fr-FR/step_2.md b/fr-FR/step_2.md index 85d719b..225e8e6 100644 --- a/fr-FR/step_2.md +++ b/fr-FR/step_2.md @@ -1,10 +1,10 @@

Ajouter un titre d'ingrédient

---- task --- +\--- task --- Utilise print() pour ajouter un titre et le premier ingrédient à ta fiche de recette. ---- /task --- +\--- /task ---

Planter le décor

@@ -26,7 +26,7 @@ line_highlights: 3-4 print('🧠 Ingrédients :') print(' - 1 tasse d'ongles d'orteils 🦶') ---- /code --- +\--- /code --- diff --git a/fr-FR/step_3.md b/fr-FR/step_3.md index 2fad079..18711f0 100644 --- a/fr-FR/step_3.md +++ b/fr-FR/step_3.md @@ -1,10 +1,10 @@

Ajouter plus d'ingrédients dégoûtants

---- task --- +\--- task --- Utilise plus de lignes print() pour ajouter des ingrédients supplémentaires à ta recette. ---- /task --- +\--- /task ---

Planter le décor

@@ -29,7 +29,7 @@ print(' - 3 globes oculaires 👁️👁️👁️') print(' - Slime vert à déguster 🧪') print() ---- /code --- +\--- /code --- diff --git a/fr-FR/step_4.md b/fr-FR/step_4.md index e496612..d712975 100644 --- a/fr-FR/step_4.md +++ b/fr-FR/step_4.md @@ -1,10 +1,10 @@

Ajouter tes premières instructions

---- task --- +\--- task --- Utilise print() pour afficher les deux premières étapes de ta recette. ---- /task --- +\--- /task ---

Planter le décor

@@ -27,7 +27,7 @@ print('🧪 Instructions :') print('1. Mélangez les ongles d'orteils et les œufs dans une chaussette sale.') print('2. Saupoudrez de peluches de nombril.') ---- /code --- +\--- /code --- diff --git a/fr-FR/step_5.md b/fr-FR/step_5.md index 1d7679c..5f3460e 100644 --- a/fr-FR/step_5.md +++ b/fr-FR/step_5.md @@ -1,10 +1,10 @@

Terminer la recette et ajouter un avertissement

---- task --- +\--- task --- Affiche les dernières étapes de ta recette et un message d'avertissement final entre guillemets. ---- /task --- +\--- /task ---

Planter le décor

@@ -28,7 +28,7 @@ print('4. Arrosez de slime et servez froid. ❄️') print() print("💀 ATTENTION : ne mangez pas ça à moins que vous soyez un zombie !") ---- /code --- +\--- /code --- @@ -94,13 +94,3 @@ transition: background-color 0.2s; Donner ton avis - -*** - -Ce projet a été traduit par des bénévoles: - -Jonathan Vannieuwkerke - -Michel Arnols - -Grâce aux bénévoles, nous pouvons donner aux gens du monde entier la chance d'apprendre dans leur propre langue. Vous pouvez nous aider à atteindre plus de personnes en vous portant volontaire pour la traduction - plus d'informations sur [rpf.io/translate](https://rpf.io/translate). diff --git a/hi-IN/code/starter/project_config.yml b/hi-IN/code/starter/project_config.yml new file mode 100644 index 0000000..135be7a --- /dev/null +++ b/hi-IN/code/starter/project_config.yml @@ -0,0 +1,4 @@ +name: "Python bytes - Disgusting Dishes" +identifier: "python-bytes-disgusting-dishes" +type: python +build: true diff --git a/hi-IN/images/banner.png b/hi-IN/images/banner.png new file mode 100644 index 0000000..63f08ff Binary files /dev/null and b/hi-IN/images/banner.png differ diff --git a/hi-IN/mentor.md b/hi-IN/mentor.md new file mode 100644 index 0000000..6c1c36d --- /dev/null +++ b/hi-IN/mentor.md @@ -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 diff --git a/hi-IN/meta.yml b/hi-IN/meta.yml new file mode 100644 index 0000000..1e3bc91 --- /dev/null +++ b/hi-IN/meta.yml @@ -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 diff --git a/hi-IN/solutions/main.py b/hi-IN/solutions/main.py new file mode 100644 index 0000000..7b86f66 --- /dev/null +++ b/hi-IN/solutions/main.py @@ -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!") \ No newline at end of file diff --git a/hi-IN/step_1.md b/hi-IN/step_1.md new file mode 100644 index 0000000..627e6c5 --- /dev/null +++ b/hi-IN/step_1.md @@ -0,0 +1,57 @@ +

Print a disgusting welcome

+ +\--- task --- + +Use print() to show a welcome message for your disgusting recipe card. + +\--- /task --- + +

Set the scene

+ +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 string. You can make Python show a string on screen using print(). +Each time you use print(), Python starts a new line in the output. + +Start by printing a welcome message for your disgusting dish. + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+ +
+ +### Tip + +Try adding your own emojis or changing the words in your welcome message!
+Some fun emoji to try: 🤢 🤮 🧠 🦠 💀 🐛 👃
+Add your own emoji by pressing `⊞ Win` + `.` on Windows or `⌘ Cmd` + `Ctrl` + `Space` on macOS. + +
+ +
+ +### Debugging + +- Did you forget the brackets in print()?
+- Make sure your message is inside quotes + +
diff --git a/hi-IN/step_2.md b/hi-IN/step_2.md new file mode 100644 index 0000000..8479b79 --- /dev/null +++ b/hi-IN/step_2.md @@ -0,0 +1,58 @@ +

Add an ingredients heading

+ +\--- task --- + +Use print() to add a heading and the first ingredient to your recipe card. + +\--- /task --- + +

Set the scene

+ +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 print() again and to include some emoji! + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+🧠 Ingredients:
+
+- 1 cup of toenail clippings 🦶
+ +
+ +
+ +### Tip + +Start your ingredient lines with a dash - and a space, just like a real list.
+You can change the ingredient to anything gross you like: 🧠 🦴 🐌 + +
+ +
+ +### Debugging + +- Did you put the ingredient inside quotes?
+- Did you remember to add print() for each line? + +
diff --git a/hi-IN/step_3.md b/hi-IN/step_3.md new file mode 100644 index 0000000..43f1da2 --- /dev/null +++ b/hi-IN/step_3.md @@ -0,0 +1,66 @@ +

Add more gross ingredients

+ +\--- task --- + +Use more print() lines to add extra ingredients to your recipe. + +\--- /task --- + +

Set the scene

+ +One ingredient isn't enough for your strange restaurant — they want the grossest recipes around! +Add more print() lines for extra ingredients. + +Make sure each one goes on a new line and starts with a dash - to keep the list format. + +
+--- 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 --- + +
+ +
+
🤢 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 🧪
+ +
+ +
+ +### Tip + +You can change these ingredients or add even more if you want!
+Ideas: 💩 🦠 🐙 🧠 🐌 + +
+ +
+ +### Debugging + +- Check you have quotes around each ingredient
+- Make sure each line starts with print()
+- Remember to include brackets! + +
diff --git a/hi-IN/step_4.md b/hi-IN/step_4.md new file mode 100644 index 0000000..cfee47b --- /dev/null +++ b/hi-IN/step_4.md @@ -0,0 +1,69 @@ +

Add your first instructions

+ +\--- task --- + +Use print() to show the first two steps for your recipe. + +\--- /task --- + +

Set the scene

+ +Your disgusting dish needs some instructions so the chef knows how to prepare it. +Use print() 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. + +
+--- 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 --- + +
+ +
+
🤢 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.
+ +
+ +
+ +### Tip + +You can change the instructions to match your own ingredients!
+Make them as weird and disgusting as you like. 🧪🧦👅 + +
+ +
+ +### Debugging + +- Did you remember to use quotes and print()?
+- Make sure your numbers have a full stop after them
+- Each step should be a new print() line + +
diff --git a/hi-IN/step_5.md b/hi-IN/step_5.md new file mode 100644 index 0000000..ff8f433 --- /dev/null +++ b/hi-IN/step_5.md @@ -0,0 +1,96 @@ +

Finish the recipe and add a warning

+ +\--- task --- + +Print the last steps of your recipe and a final warning message using double quotes. + +\--- /task --- + +

Set the scene

+ +Your recipe is almost complete! Now add the final steps so the chef knows how to finish the dish. + +Then add a warning message at the end — it's so disgusting that only zombies should eat it! +This message uses an apostrophe in the word Don't, so you’ll need to use double quotes " " around the string. + +
+--- code --- +--- +language: python +filename: main.py +line_numbers: true +line_number_start: 13 +line_highlights: 13-16 +--- + +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!") + +\--- /code --- + +
+ +
+
🤢 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.
+3. Stir in the eyeballs until they stare back at you.
+4. Drizzle with slime and serve cold. ❄️
+
+💀 WARNING: Don't eat this unless you're a zombie!
+ +
+ +
+ +### Tip + +You can use single quotes ' ' for most strings, but if your text includes an apostrophe like Don't, you’ll need double quotes " " instead. + +
+ +
+ +### Debugging + +- Did you use double quotes around the warning message?
+- Each step should still be printed on a new line
+- Use print() for every message + +
+ +
+ +### Feedback + +This is a beta projects, which means it is brand new and not widely available. If you've tested this project on your own or with your club, let us know what you think. + + +Give feedback + +
diff --git a/it-IT/code/starter/project_config.yml b/it-IT/code/starter/project_config.yml new file mode 100644 index 0000000..135be7a --- /dev/null +++ b/it-IT/code/starter/project_config.yml @@ -0,0 +1,4 @@ +name: "Python bytes - Disgusting Dishes" +identifier: "python-bytes-disgusting-dishes" +type: python +build: true diff --git a/it-IT/images/banner.png b/it-IT/images/banner.png new file mode 100644 index 0000000..63f08ff Binary files /dev/null and b/it-IT/images/banner.png differ diff --git a/it-IT/mentor.md b/it-IT/mentor.md new file mode 100644 index 0000000..6c1c36d --- /dev/null +++ b/it-IT/mentor.md @@ -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 diff --git a/it-IT/meta.yml b/it-IT/meta.yml new file mode 100644 index 0000000..1e3bc91 --- /dev/null +++ b/it-IT/meta.yml @@ -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 diff --git a/it-IT/solutions/main.py b/it-IT/solutions/main.py new file mode 100644 index 0000000..7b86f66 --- /dev/null +++ b/it-IT/solutions/main.py @@ -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!") \ No newline at end of file diff --git a/it-IT/step_1.md b/it-IT/step_1.md new file mode 100644 index 0000000..627e6c5 --- /dev/null +++ b/it-IT/step_1.md @@ -0,0 +1,57 @@ +

Print a disgusting welcome

+ +\--- task --- + +Use print() to show a welcome message for your disgusting recipe card. + +\--- /task --- + +

Set the scene

+ +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 string. You can make Python show a string on screen using print(). +Each time you use print(), Python starts a new line in the output. + +Start by printing a welcome message for your disgusting dish. + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+ +
+ +### Tip + +Try adding your own emojis or changing the words in your welcome message!
+Some fun emoji to try: 🤢 🤮 🧠 🦠 💀 🐛 👃
+Add your own emoji by pressing `⊞ Win` + `.` on Windows or `⌘ Cmd` + `Ctrl` + `Space` on macOS. + +
+ +
+ +### Debugging + +- Did you forget the brackets in print()?
+- Make sure your message is inside quotes + +
diff --git a/it-IT/step_2.md b/it-IT/step_2.md new file mode 100644 index 0000000..8479b79 --- /dev/null +++ b/it-IT/step_2.md @@ -0,0 +1,58 @@ +

Add an ingredients heading

+ +\--- task --- + +Use print() to add a heading and the first ingredient to your recipe card. + +\--- /task --- + +

Set the scene

+ +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 print() again and to include some emoji! + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+🧠 Ingredients:
+
+- 1 cup of toenail clippings 🦶
+ +
+ +
+ +### Tip + +Start your ingredient lines with a dash - and a space, just like a real list.
+You can change the ingredient to anything gross you like: 🧠 🦴 🐌 + +
+ +
+ +### Debugging + +- Did you put the ingredient inside quotes?
+- Did you remember to add print() for each line? + +
diff --git a/it-IT/step_3.md b/it-IT/step_3.md new file mode 100644 index 0000000..43f1da2 --- /dev/null +++ b/it-IT/step_3.md @@ -0,0 +1,66 @@ +

Add more gross ingredients

+ +\--- task --- + +Use more print() lines to add extra ingredients to your recipe. + +\--- /task --- + +

Set the scene

+ +One ingredient isn't enough for your strange restaurant — they want the grossest recipes around! +Add more print() lines for extra ingredients. + +Make sure each one goes on a new line and starts with a dash - to keep the list format. + +
+--- 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 --- + +
+ +
+
🤢 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 🧪
+ +
+ +
+ +### Tip + +You can change these ingredients or add even more if you want!
+Ideas: 💩 🦠 🐙 🧠 🐌 + +
+ +
+ +### Debugging + +- Check you have quotes around each ingredient
+- Make sure each line starts with print()
+- Remember to include brackets! + +
diff --git a/it-IT/step_4.md b/it-IT/step_4.md new file mode 100644 index 0000000..cfee47b --- /dev/null +++ b/it-IT/step_4.md @@ -0,0 +1,69 @@ +

Add your first instructions

+ +\--- task --- + +Use print() to show the first two steps for your recipe. + +\--- /task --- + +

Set the scene

+ +Your disgusting dish needs some instructions so the chef knows how to prepare it. +Use print() 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. + +
+--- 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 --- + +
+ +
+
🤢 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.
+ +
+ +
+ +### Tip + +You can change the instructions to match your own ingredients!
+Make them as weird and disgusting as you like. 🧪🧦👅 + +
+ +
+ +### Debugging + +- Did you remember to use quotes and print()?
+- Make sure your numbers have a full stop after them
+- Each step should be a new print() line + +
diff --git a/it-IT/step_5.md b/it-IT/step_5.md new file mode 100644 index 0000000..ff8f433 --- /dev/null +++ b/it-IT/step_5.md @@ -0,0 +1,96 @@ +

Finish the recipe and add a warning

+ +\--- task --- + +Print the last steps of your recipe and a final warning message using double quotes. + +\--- /task --- + +

Set the scene

+ +Your recipe is almost complete! Now add the final steps so the chef knows how to finish the dish. + +Then add a warning message at the end — it's so disgusting that only zombies should eat it! +This message uses an apostrophe in the word Don't, so you’ll need to use double quotes " " around the string. + +
+--- code --- +--- +language: python +filename: main.py +line_numbers: true +line_number_start: 13 +line_highlights: 13-16 +--- + +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!") + +\--- /code --- + +
+ +
+
🤢 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.
+3. Stir in the eyeballs until they stare back at you.
+4. Drizzle with slime and serve cold. ❄️
+
+💀 WARNING: Don't eat this unless you're a zombie!
+ +
+ +
+ +### Tip + +You can use single quotes ' ' for most strings, but if your text includes an apostrophe like Don't, you’ll need double quotes " " instead. + +
+ +
+ +### Debugging + +- Did you use double quotes around the warning message?
+- Each step should still be printed on a new line
+- Use print() for every message + +
+ +
+ +### Feedback + +This is a beta projects, which means it is brand new and not widely available. If you've tested this project on your own or with your club, let us know what you think. + + +Give feedback + +
diff --git a/ja-JP/code/starter/project_config.yml b/ja-JP/code/starter/project_config.yml new file mode 100644 index 0000000..135be7a --- /dev/null +++ b/ja-JP/code/starter/project_config.yml @@ -0,0 +1,4 @@ +name: "Python bytes - Disgusting Dishes" +identifier: "python-bytes-disgusting-dishes" +type: python +build: true diff --git a/ja-JP/images/banner.png b/ja-JP/images/banner.png new file mode 100644 index 0000000..63f08ff Binary files /dev/null and b/ja-JP/images/banner.png differ diff --git a/ja-JP/mentor.md b/ja-JP/mentor.md new file mode 100644 index 0000000..6c1c36d --- /dev/null +++ b/ja-JP/mentor.md @@ -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 diff --git a/ja-JP/meta.yml b/ja-JP/meta.yml new file mode 100644 index 0000000..1e3bc91 --- /dev/null +++ b/ja-JP/meta.yml @@ -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 diff --git a/ja-JP/solutions/main.py b/ja-JP/solutions/main.py new file mode 100644 index 0000000..7b86f66 --- /dev/null +++ b/ja-JP/solutions/main.py @@ -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!") \ No newline at end of file diff --git a/ja-JP/step_1.md b/ja-JP/step_1.md new file mode 100644 index 0000000..627e6c5 --- /dev/null +++ b/ja-JP/step_1.md @@ -0,0 +1,57 @@ +

Print a disgusting welcome

+ +\--- task --- + +Use print() to show a welcome message for your disgusting recipe card. + +\--- /task --- + +

Set the scene

+ +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 string. You can make Python show a string on screen using print(). +Each time you use print(), Python starts a new line in the output. + +Start by printing a welcome message for your disgusting dish. + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+ +
+ +### Tip + +Try adding your own emojis or changing the words in your welcome message!
+Some fun emoji to try: 🤢 🤮 🧠 🦠 💀 🐛 👃
+Add your own emoji by pressing `⊞ Win` + `.` on Windows or `⌘ Cmd` + `Ctrl` + `Space` on macOS. + +
+ +
+ +### Debugging + +- Did you forget the brackets in print()?
+- Make sure your message is inside quotes + +
diff --git a/ja-JP/step_2.md b/ja-JP/step_2.md new file mode 100644 index 0000000..8479b79 --- /dev/null +++ b/ja-JP/step_2.md @@ -0,0 +1,58 @@ +

Add an ingredients heading

+ +\--- task --- + +Use print() to add a heading and the first ingredient to your recipe card. + +\--- /task --- + +

Set the scene

+ +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 print() again and to include some emoji! + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+🧠 Ingredients:
+
+- 1 cup of toenail clippings 🦶
+ +
+ +
+ +### Tip + +Start your ingredient lines with a dash - and a space, just like a real list.
+You can change the ingredient to anything gross you like: 🧠 🦴 🐌 + +
+ +
+ +### Debugging + +- Did you put the ingredient inside quotes?
+- Did you remember to add print() for each line? + +
diff --git a/ja-JP/step_3.md b/ja-JP/step_3.md new file mode 100644 index 0000000..43f1da2 --- /dev/null +++ b/ja-JP/step_3.md @@ -0,0 +1,66 @@ +

Add more gross ingredients

+ +\--- task --- + +Use more print() lines to add extra ingredients to your recipe. + +\--- /task --- + +

Set the scene

+ +One ingredient isn't enough for your strange restaurant — they want the grossest recipes around! +Add more print() lines for extra ingredients. + +Make sure each one goes on a new line and starts with a dash - to keep the list format. + +
+--- 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 --- + +
+ +
+
🤢 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 🧪
+ +
+ +
+ +### Tip + +You can change these ingredients or add even more if you want!
+Ideas: 💩 🦠 🐙 🧠 🐌 + +
+ +
+ +### Debugging + +- Check you have quotes around each ingredient
+- Make sure each line starts with print()
+- Remember to include brackets! + +
diff --git a/ja-JP/step_4.md b/ja-JP/step_4.md new file mode 100644 index 0000000..cfee47b --- /dev/null +++ b/ja-JP/step_4.md @@ -0,0 +1,69 @@ +

Add your first instructions

+ +\--- task --- + +Use print() to show the first two steps for your recipe. + +\--- /task --- + +

Set the scene

+ +Your disgusting dish needs some instructions so the chef knows how to prepare it. +Use print() 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. + +
+--- 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 --- + +
+ +
+
🤢 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.
+ +
+ +
+ +### Tip + +You can change the instructions to match your own ingredients!
+Make them as weird and disgusting as you like. 🧪🧦👅 + +
+ +
+ +### Debugging + +- Did you remember to use quotes and print()?
+- Make sure your numbers have a full stop after them
+- Each step should be a new print() line + +
diff --git a/ja-JP/step_5.md b/ja-JP/step_5.md new file mode 100644 index 0000000..ff8f433 --- /dev/null +++ b/ja-JP/step_5.md @@ -0,0 +1,96 @@ +

Finish the recipe and add a warning

+ +\--- task --- + +Print the last steps of your recipe and a final warning message using double quotes. + +\--- /task --- + +

Set the scene

+ +Your recipe is almost complete! Now add the final steps so the chef knows how to finish the dish. + +Then add a warning message at the end — it's so disgusting that only zombies should eat it! +This message uses an apostrophe in the word Don't, so you’ll need to use double quotes " " around the string. + +
+--- code --- +--- +language: python +filename: main.py +line_numbers: true +line_number_start: 13 +line_highlights: 13-16 +--- + +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!") + +\--- /code --- + +
+ +
+
🤢 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.
+3. Stir in the eyeballs until they stare back at you.
+4. Drizzle with slime and serve cold. ❄️
+
+💀 WARNING: Don't eat this unless you're a zombie!
+ +
+ +
+ +### Tip + +You can use single quotes ' ' for most strings, but if your text includes an apostrophe like Don't, you’ll need double quotes " " instead. + +
+ +
+ +### Debugging + +- Did you use double quotes around the warning message?
+- Each step should still be printed on a new line
+- Use print() for every message + +
+ +
+ +### Feedback + +This is a beta projects, which means it is brand new and not widely available. If you've tested this project on your own or with your club, let us know what you think. + + +Give feedback + +
diff --git a/nl-NL/meta.yml b/nl-NL/meta.yml index fff4844..835dfe7 100644 --- a/nl-NL/meta.yml +++ b/nl-NL/meta.yml @@ -1,4 +1,3 @@ ---- title: Python bytes - Walgelijke gerechten hero_image: images/banner.png description: Maak je eigen walgelijke recept met behulp van print-statements en emoji's in Python! diff --git a/nl-NL/step_1.md b/nl-NL/step_1.md index 6428f1c..e4084dd 100644 --- a/nl-NL/step_1.md +++ b/nl-NL/step_1.md @@ -1,10 +1,10 @@

Print een weerzinwekkende welkomstboodschap

---- task --- +\--- task --- Gebruik print() om een welkomstbericht voor je walgelijke receptenkaart weer te geven. ---- /task --- +\--- /task ---

Schets de situatie

@@ -29,7 +29,7 @@ line_highlights: 1-2 print('🤢 Welkom bij het kookboek met walgelijke gerechten!' 🤮') print() ---- /code --- +\--- /code --- diff --git a/nl-NL/step_2.md b/nl-NL/step_2.md index a0e331b..53ee3cb 100644 --- a/nl-NL/step_2.md +++ b/nl-NL/step_2.md @@ -1,10 +1,10 @@

Voeg een koptekst voor ingrediënten toe

---- task --- +\--- task --- Gebruik print() om een kop en het eerste ingrediënt aan je receptkaart toe te voegen. ---- /task --- +\--- /task ---

Schets de situatie

@@ -26,7 +26,7 @@ line_highlights: 3-4 print('🧠 Ingrediënten:') print(' - 1 kopje teennagelknipsels 🦶') ---- /code --- +\--- /code --- diff --git a/nl-NL/step_3.md b/nl-NL/step_3.md index 4ec7b73..5b48e92 100644 --- a/nl-NL/step_3.md +++ b/nl-NL/step_3.md @@ -1,10 +1,10 @@

Voeg meer gore ingrediënten toe

---- task --- +\--- task --- Gebruik meer print() regels om extra ingrediënten aan je recept toe te voegen. ---- /task --- +\--- /task ---

Schets de situatie

@@ -29,7 +29,7 @@ print(' - 3 oogballen 👁️👁️👁️') print(' - Groen slijm naar smaak 🧪') print() ---- /code --- +\--- /code --- diff --git a/nl-NL/step_4.md b/nl-NL/step_4.md index dc64f36..16a6ac4 100644 --- a/nl-NL/step_4.md +++ b/nl-NL/step_4.md @@ -1,10 +1,10 @@

Voeg je eerste instructies toe

---- task --- +\--- task --- Gebruik print() om de eerste twee stappen van je recept weer te geven. ---- /task --- +\--- /task ---

Schets de situatie

@@ -27,7 +27,7 @@ print('🧪 Instructies:') print('1. Meng de teennagels en eieren in een vuile sok.) print('2. Strooi er wat navelpluis in.') ---- /code --- +\--- /code --- diff --git a/nl-NL/step_5.md b/nl-NL/step_5.md index 1e9826f..721b763 100644 --- a/nl-NL/step_5.md +++ b/nl-NL/step_5.md @@ -1,10 +1,10 @@

Maak het recept af en voeg een waarschuwing toe

---- task --- +\--- task --- Print de laatste stappen van je recept en een afsluitende waarschuwing tussen dubbele aanhalingstekens. ---- /task --- +\--- /task ---

Schets de situatie

@@ -28,7 +28,7 @@ print('4. Besprenkel met slijm en serveer koud. ❄️') print() print("💀 WAARSCHUWING: Eet dit niet, tenzij je 'n zombie bent!") ---- /code --- +\--- /code --- @@ -94,13 +94,3 @@ transition: background-color 0.2s; Geef feedback - -*** - -Dit project werd vertaald door vrijwilligers: - -Robert-Jan Kempenaar - -Iny van Beuningen - -Dankzij vrijwilligers kunnen we mensen over de hele wereld de kans geven om in hun eigen taal te leren. Jij kunt ons helpen meer mensen te bereiken door vrijwillig te starten met vertalen - meer informatie op [rpf.io/translate](https://rpf.io/translate). diff --git a/pt-BR/code/starter/project_config.yml b/pt-BR/code/starter/project_config.yml new file mode 100644 index 0000000..135be7a --- /dev/null +++ b/pt-BR/code/starter/project_config.yml @@ -0,0 +1,4 @@ +name: "Python bytes - Disgusting Dishes" +identifier: "python-bytes-disgusting-dishes" +type: python +build: true diff --git a/pt-BR/images/banner.png b/pt-BR/images/banner.png new file mode 100644 index 0000000..63f08ff Binary files /dev/null and b/pt-BR/images/banner.png differ diff --git a/pt-BR/mentor.md b/pt-BR/mentor.md new file mode 100644 index 0000000..6c1c36d --- /dev/null +++ b/pt-BR/mentor.md @@ -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 diff --git a/pt-BR/meta.yml b/pt-BR/meta.yml new file mode 100644 index 0000000..1e3bc91 --- /dev/null +++ b/pt-BR/meta.yml @@ -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 diff --git a/pt-BR/solutions/main.py b/pt-BR/solutions/main.py new file mode 100644 index 0000000..7b86f66 --- /dev/null +++ b/pt-BR/solutions/main.py @@ -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!") \ No newline at end of file diff --git a/pt-BR/step_1.md b/pt-BR/step_1.md new file mode 100644 index 0000000..627e6c5 --- /dev/null +++ b/pt-BR/step_1.md @@ -0,0 +1,57 @@ +

Print a disgusting welcome

+ +\--- task --- + +Use print() to show a welcome message for your disgusting recipe card. + +\--- /task --- + +

Set the scene

+ +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 string. You can make Python show a string on screen using print(). +Each time you use print(), Python starts a new line in the output. + +Start by printing a welcome message for your disgusting dish. + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+ +
+ +### Tip + +Try adding your own emojis or changing the words in your welcome message!
+Some fun emoji to try: 🤢 🤮 🧠 🦠 💀 🐛 👃
+Add your own emoji by pressing `⊞ Win` + `.` on Windows or `⌘ Cmd` + `Ctrl` + `Space` on macOS. + +
+ +
+ +### Debugging + +- Did you forget the brackets in print()?
+- Make sure your message is inside quotes + +
diff --git a/pt-BR/step_2.md b/pt-BR/step_2.md new file mode 100644 index 0000000..8479b79 --- /dev/null +++ b/pt-BR/step_2.md @@ -0,0 +1,58 @@ +

Add an ingredients heading

+ +\--- task --- + +Use print() to add a heading and the first ingredient to your recipe card. + +\--- /task --- + +

Set the scene

+ +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 print() again and to include some emoji! + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+🧠 Ingredients:
+
+- 1 cup of toenail clippings 🦶
+ +
+ +
+ +### Tip + +Start your ingredient lines with a dash - and a space, just like a real list.
+You can change the ingredient to anything gross you like: 🧠 🦴 🐌 + +
+ +
+ +### Debugging + +- Did you put the ingredient inside quotes?
+- Did you remember to add print() for each line? + +
diff --git a/pt-BR/step_3.md b/pt-BR/step_3.md new file mode 100644 index 0000000..43f1da2 --- /dev/null +++ b/pt-BR/step_3.md @@ -0,0 +1,66 @@ +

Add more gross ingredients

+ +\--- task --- + +Use more print() lines to add extra ingredients to your recipe. + +\--- /task --- + +

Set the scene

+ +One ingredient isn't enough for your strange restaurant — they want the grossest recipes around! +Add more print() lines for extra ingredients. + +Make sure each one goes on a new line and starts with a dash - to keep the list format. + +
+--- 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 --- + +
+ +
+
🤢 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 🧪
+ +
+ +
+ +### Tip + +You can change these ingredients or add even more if you want!
+Ideas: 💩 🦠 🐙 🧠 🐌 + +
+ +
+ +### Debugging + +- Check you have quotes around each ingredient
+- Make sure each line starts with print()
+- Remember to include brackets! + +
diff --git a/pt-BR/step_4.md b/pt-BR/step_4.md new file mode 100644 index 0000000..cfee47b --- /dev/null +++ b/pt-BR/step_4.md @@ -0,0 +1,69 @@ +

Add your first instructions

+ +\--- task --- + +Use print() to show the first two steps for your recipe. + +\--- /task --- + +

Set the scene

+ +Your disgusting dish needs some instructions so the chef knows how to prepare it. +Use print() 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. + +
+--- 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 --- + +
+ +
+
🤢 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.
+ +
+ +
+ +### Tip + +You can change the instructions to match your own ingredients!
+Make them as weird and disgusting as you like. 🧪🧦👅 + +
+ +
+ +### Debugging + +- Did you remember to use quotes and print()?
+- Make sure your numbers have a full stop after them
+- Each step should be a new print() line + +
diff --git a/pt-BR/step_5.md b/pt-BR/step_5.md new file mode 100644 index 0000000..ff8f433 --- /dev/null +++ b/pt-BR/step_5.md @@ -0,0 +1,96 @@ +

Finish the recipe and add a warning

+ +\--- task --- + +Print the last steps of your recipe and a final warning message using double quotes. + +\--- /task --- + +

Set the scene

+ +Your recipe is almost complete! Now add the final steps so the chef knows how to finish the dish. + +Then add a warning message at the end — it's so disgusting that only zombies should eat it! +This message uses an apostrophe in the word Don't, so you’ll need to use double quotes " " around the string. + +
+--- code --- +--- +language: python +filename: main.py +line_numbers: true +line_number_start: 13 +line_highlights: 13-16 +--- + +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!") + +\--- /code --- + +
+ +
+
🤢 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.
+3. Stir in the eyeballs until they stare back at you.
+4. Drizzle with slime and serve cold. ❄️
+
+💀 WARNING: Don't eat this unless you're a zombie!
+ +
+ +
+ +### Tip + +You can use single quotes ' ' for most strings, but if your text includes an apostrophe like Don't, you’ll need double quotes " " instead. + +
+ +
+ +### Debugging + +- Did you use double quotes around the warning message?
+- Each step should still be printed on a new line
+- Use print() for every message + +
+ +
+ +### Feedback + +This is a beta projects, which means it is brand new and not widely available. If you've tested this project on your own or with your club, let us know what you think. + + +Give feedback + +
diff --git a/uk-UA/code/starter/project_config.yml b/uk-UA/code/starter/project_config.yml new file mode 100644 index 0000000..135be7a --- /dev/null +++ b/uk-UA/code/starter/project_config.yml @@ -0,0 +1,4 @@ +name: "Python bytes - Disgusting Dishes" +identifier: "python-bytes-disgusting-dishes" +type: python +build: true diff --git a/uk-UA/images/banner.png b/uk-UA/images/banner.png new file mode 100644 index 0000000..63f08ff Binary files /dev/null and b/uk-UA/images/banner.png differ diff --git a/uk-UA/mentor.md b/uk-UA/mentor.md new file mode 100644 index 0000000..6c1c36d --- /dev/null +++ b/uk-UA/mentor.md @@ -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 diff --git a/uk-UA/meta.yml b/uk-UA/meta.yml new file mode 100644 index 0000000..1e3bc91 --- /dev/null +++ b/uk-UA/meta.yml @@ -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 diff --git a/uk-UA/solutions/main.py b/uk-UA/solutions/main.py new file mode 100644 index 0000000..7b86f66 --- /dev/null +++ b/uk-UA/solutions/main.py @@ -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!") \ No newline at end of file diff --git a/uk-UA/step_1.md b/uk-UA/step_1.md new file mode 100644 index 0000000..627e6c5 --- /dev/null +++ b/uk-UA/step_1.md @@ -0,0 +1,57 @@ +

Print a disgusting welcome

+ +\--- task --- + +Use print() to show a welcome message for your disgusting recipe card. + +\--- /task --- + +

Set the scene

+ +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 string. You can make Python show a string on screen using print(). +Each time you use print(), Python starts a new line in the output. + +Start by printing a welcome message for your disgusting dish. + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+ +
+ +### Tip + +Try adding your own emojis or changing the words in your welcome message!
+Some fun emoji to try: 🤢 🤮 🧠 🦠 💀 🐛 👃
+Add your own emoji by pressing `⊞ Win` + `.` on Windows or `⌘ Cmd` + `Ctrl` + `Space` on macOS. + +
+ +
+ +### Debugging + +- Did you forget the brackets in print()?
+- Make sure your message is inside quotes + +
diff --git a/uk-UA/step_2.md b/uk-UA/step_2.md new file mode 100644 index 0000000..8479b79 --- /dev/null +++ b/uk-UA/step_2.md @@ -0,0 +1,58 @@ +

Add an ingredients heading

+ +\--- task --- + +Use print() to add a heading and the first ingredient to your recipe card. + +\--- /task --- + +

Set the scene

+ +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 print() again and to include some emoji! + +
+--- 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 --- + +
+ +
+
🤢 Welcome to the DISGUSTING DISHES cookbook! 🤮
+
+🧠 Ingredients:
+
+- 1 cup of toenail clippings 🦶
+ +
+ +
+ +### Tip + +Start your ingredient lines with a dash - and a space, just like a real list.
+You can change the ingredient to anything gross you like: 🧠 🦴 🐌 + +
+ +
+ +### Debugging + +- Did you put the ingredient inside quotes?
+- Did you remember to add print() for each line? + +
diff --git a/uk-UA/step_3.md b/uk-UA/step_3.md new file mode 100644 index 0000000..43f1da2 --- /dev/null +++ b/uk-UA/step_3.md @@ -0,0 +1,66 @@ +

Add more gross ingredients

+ +\--- task --- + +Use more print() lines to add extra ingredients to your recipe. + +\--- /task --- + +

Set the scene

+ +One ingredient isn't enough for your strange restaurant — they want the grossest recipes around! +Add more print() lines for extra ingredients. + +Make sure each one goes on a new line and starts with a dash - to keep the list format. + +
+--- 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 --- + +
+ +
+
🤢 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 🧪
+ +
+ +
+ +### Tip + +You can change these ingredients or add even more if you want!
+Ideas: 💩 🦠 🐙 🧠 🐌 + +
+ +
+ +### Debugging + +- Check you have quotes around each ingredient
+- Make sure each line starts with print()
+- Remember to include brackets! + +
diff --git a/uk-UA/step_4.md b/uk-UA/step_4.md new file mode 100644 index 0000000..cfee47b --- /dev/null +++ b/uk-UA/step_4.md @@ -0,0 +1,69 @@ +

Add your first instructions

+ +\--- task --- + +Use print() to show the first two steps for your recipe. + +\--- /task --- + +

Set the scene

+ +Your disgusting dish needs some instructions so the chef knows how to prepare it. +Use print() 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. + +
+--- 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 --- + +
+ +
+
🤢 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.
+ +
+ +
+ +### Tip + +You can change the instructions to match your own ingredients!
+Make them as weird and disgusting as you like. 🧪🧦👅 + +
+ +
+ +### Debugging + +- Did you remember to use quotes and print()?
+- Make sure your numbers have a full stop after them
+- Each step should be a new print() line + +
diff --git a/uk-UA/step_5.md b/uk-UA/step_5.md new file mode 100644 index 0000000..ff8f433 --- /dev/null +++ b/uk-UA/step_5.md @@ -0,0 +1,96 @@ +

Finish the recipe and add a warning

+ +\--- task --- + +Print the last steps of your recipe and a final warning message using double quotes. + +\--- /task --- + +

Set the scene

+ +Your recipe is almost complete! Now add the final steps so the chef knows how to finish the dish. + +Then add a warning message at the end — it's so disgusting that only zombies should eat it! +This message uses an apostrophe in the word Don't, so you’ll need to use double quotes " " around the string. + +
+--- code --- +--- +language: python +filename: main.py +line_numbers: true +line_number_start: 13 +line_highlights: 13-16 +--- + +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!") + +\--- /code --- + +
+ +
+
🤢 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.
+3. Stir in the eyeballs until they stare back at you.
+4. Drizzle with slime and serve cold. ❄️
+
+💀 WARNING: Don't eat this unless you're a zombie!
+ +
+ +
+ +### Tip + +You can use single quotes ' ' for most strings, but if your text includes an apostrophe like Don't, you’ll need double quotes " " instead. + +
+ +
+ +### Debugging + +- Did you use double quotes around the warning message?
+- Each step should still be printed on a new line
+- Use print() for every message + +
+ +
+ +### Feedback + +This is a beta projects, which means it is brand new and not widely available. If you've tested this project on your own or with your club, let us know what you think. + + +Give feedback + +