Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 1.57 KB

File metadata and controls

76 lines (48 loc) · 1.57 KB

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 🦶

Step 1

Now run your code

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?
def greet(name):
    print(f"hello {name}")

greet("world")
when green flag clicked
move (10) steps

A test image