Put in order · Python course · Module 1: Python Basics

F-string

Arrange an f-string that gives the text Hello Darwin for name = 'Darwin':

Items to put in order

  • "
  • {name}
  • Hello
  • f"
Show the answer

Correct order:

  1. f"
  2. Hello
  3. {name}
  4. "