- Guías de estudio, Notas de estudios & Resúmenes
¿Buscas las mejores guías de estudio, notas de estudio y resúmenes para ? En esta página encontrarás 1 documentos de estudio para .
All 1 resultados
Ordenador por:
-
Examen
CNM 140 Exam 2 with Questions and Answers
-
---16junio 20252024/2025A+
- CNM 140 Exam 2 with Questions and Answers 
 
What placeholders are used when dealing with f-strings? 
a. ( ) 
b. [ ] 
c. { } 
d. : ANSWER c. { } 
 
Use the price variable and f-string syntax to display the price with two decimals: 
price = 69 
txt = f"The price is {__________} dollars" 
print(txt) 
 
a. :.2f 
b. price:.2f 
c. price * 100.00 
d. price:2f ANSWER b. price:.2f 
 
Use an if statement inside the f-string placeholders to return 'perfect' if the price is 100, and 'ok' ...
-
$15.99 Más información
examchief78