Skip to content

Night 16: Name tags

← 30 Code Nights · Language: Python Pseudocode

Tonight: name tags

  • Your pet wants a name tag. Tonight you put values inside text.
  • You will learn one thing: f-strings.

Words for tonight

Word Meaning
f-string a text with an f in front; values can go inside it
braces the brackets { }
space the empty character between words

Handout

Log in or create account

IGCSE, A-Level & AP