From 578bb4f3373e82fe9706219c3a50db1b076cb28f Mon Sep 17 00:00:00 2001
From: sashamishcheriakova
<135987917+sashamishcheriakova@users.noreply.github.com>
Date: Thu, 18 Dec 2025 10:30:02 +0000
Subject: [PATCH] Add empty lines for translation
---
en/step_1.md | 6 ++++++
en/step_2.md | 7 ++++++-
en/step_3.md | 6 ++++++
en/step_4.md | 6 ++++++
en/step_5.md | 6 ++++++
en/step_6.md | 9 +++++++++
6 files changed, 39 insertions(+), 1 deletion(-)
diff --git a/en/step_1.md b/en/step_1.md
index db8fed2..d61fe4c 100644
--- a/en/step_1.md
+++ b/en/step_1.md
@@ -1,6 +1,9 @@
Make the code easier to read
+
--- task ---
+
Split the long print statement onto multiple lines so itβs easier to understand.
+
--- /task ---
Readable code is good code
@@ -25,6 +28,7 @@ line_numbers: true
line_number_start: 11
line_highlights:
---
+
print(
f'Start with a scoop of {carb}',
f'Top with diced {veg_1} and {veg_2}',
@@ -32,7 +36,9 @@ print(
f'Garnish with {garnish}',
f'Serve with a side of {side}'
)
+
--- /code ---
+
diff --git a/en/step_2.md b/en/step_2.md
index a27edf6..3a4306f 100644
--- a/en/step_2.md
+++ b/en/step_2.md
@@ -1,6 +1,9 @@
Fix the output format
+
--- task ---
+
Use `sep='\n'` to print each part of the recipe on its own line.
+
--- /task ---
Split the output into lines
@@ -20,8 +23,8 @@ filename: main.py
line_numbers: true
line_number_start: 11
line_highlights: 17
-
---
+
print(
f'Start with a scoop of {carb}',
f'Top with diced {veg_1} and {veg_2}',
@@ -30,7 +33,9 @@ print(
f'Serve with a side of {side}',
sep='\n'
)
+
--- /code ---
+
diff --git a/en/step_3.md b/en/step_3.md
index 3698327..ac64ac2 100644
--- a/en/step_3.md
+++ b/en/step_3.md
@@ -1,7 +1,10 @@
Add emoji bullets
+
--- task ---
+
Use the emoji variable to add a bullet point to every line.
+
--- /task ---
Make your list look amazing
@@ -21,6 +24,7 @@ line_numbers: true
line_number_start: 11
line_highlights: 12, 17
---
+
print(
f'{emoji}Start with a scoop of {carb}',
f'Top with diced {veg_1} and {veg_2}',
@@ -29,7 +33,9 @@ print(
f'Serve with a side of {side}',
sep='\n' + emoji
)
+
--- /code ---
+
diff --git a/en/step_4.md b/en/step_4.md
index 9378dd4..b792a32 100644
--- a/en/step_4.md
+++ b/en/step_4.md
@@ -1,6 +1,9 @@
Fix the ingredient formatting
+
--- task ---
+
Use `.title()` and `.lower()` on the ingredient values inside the `print()` line.
+
--- /task ---
Make the ingredients readable
@@ -20,9 +23,12 @@ line_numbers: true
line_number_start: 14
line_highlights:
---
+
f'Add grilled {protein.lower()}'
f'Garnish with {garnish.lower()}'
+
--- /code ---
+
diff --git a/en/step_5.md b/en/step_5.md
index 70d3072..56e39b9 100644
--- a/en/step_5.md
+++ b/en/step_5.md
@@ -1,6 +1,9 @@
Sabotage the recipe with .replace()
+
--- task ---
+
Use `.replace()` to secretly swap ingredients with disgusting ones!
+
--- /task ---
Let the prank begin
@@ -18,9 +21,12 @@ line_numbers: true
line_number_start: 2
line_highlights:
---
+
protein = 'TOFU'.replace('FU', 'AD') # β TOAD
veg_1 = 'CARROT'.replace('CAR', '') # β ROT
+
--- /code ---
+
diff --git a/en/step_6.md b/en/step_6.md
index 6baad7a..9164198 100644
--- a/en/step_6.md
+++ b/en/step_6.md
@@ -1,6 +1,9 @@
Replace the emoji for fun (or horror)
+
--- task ---
+
Use `.replace()` on the emoji variable to turn cute bullets into creepy ones.
+
--- /task ---
Change the mood with emoji
@@ -18,8 +21,11 @@ line_numbers: true
line_number_start: 8
line_highlights:
---
+
emoji = 'π½οΈπ'.replace('π', 'π€’') # β π½οΈπ€’
+
--- /code ---
+
Or replace the whole thing completely:
@@ -33,8 +39,11 @@ line_numbers: true
line_number_start: 8
line_highlights:
---
+
emoji = 'πͺ³π'
+
--- /code ---
+