Course contentsShow
Python
Lesson 184 of 1,2893. StringsPro lesson

Format spec in f-strings

`f'{x:.2f}'` for decimal control.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.