Start learning →
Home › Olympiad (Class 11) › Computer Science › Python Strings Lists and Tuples › Inside an f string, an expression written in cur…

Inside an f string, an expression written in curly braces is called a:

AReplacement feature
BReplacement formula
CReplacement field
DReplacement figure
Answer & Solution
Correct answer: C. Replacement field
1. The braces mark a slot to be filled in. 2. The value of the expression is dropped into it. 3. That slot is a replacement field. _Source: OpenStax Introduction to Python Programming, Chapter 3._
Practise this question with Quill — Olympiad (Class 11) →
Related questions