Start learning →
Home › Olympiad (Class 11) › Computer Science › Python Strings Lists and Tuples › A string literal prefixed with the letter f, all…

A string literal prefixed with the letter f, allowing values inside braces, is an:

AH string
BF string
CE string
DG string
Answer & Solution
Correct answer: B. F string
1. The prefix letter names the literal. 2. Here the prefix is f or F. 3. So it is an f string. _Source: OpenStax Introduction to Python Programming, Chapter 3._
Practise this question with Quill — Olympiad (Class 11) →
Related questions