All challenges
Multiple ChoiceBeginner 30s

f-string Syntax

Choose the best answer for: Python f-strings
Options
  1. 1f-strings require .format()
  2. 2f-strings start with f before the quotes
  3. 3f-strings use % formatting
  4. 4f-strings only work in Python 2

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle