Start learning →
Home › Olympiad (Class 11) › Computer Science › Python Strings Lists and Tuples › In the f string with minute:02d, the part writte…

In the f string with minute:02d, the part written after the colon is a:

AFormat statement
BFormat parameter
CFormat expression
DFormat specifier
Answer & Solution
Correct answer: D. Format specifier
1. The colon separates the value from its display rule. 2. That rule says how the value should look. 3. It is a format specifier. _Source: OpenStax Introduction to Python Programming, Chapter 3._
Practise this question with Quill — Olympiad (Class 11) →
Related questions