Summary of what you’ve learned in this course:
- String Format with
%
- String Format with
.format()
- f-strings
- Template Strings
Knowing which method to use to format strings can be confusing, In this lesson you’ll see a handy flowchart to help you decide which formatting method to use.
Congratulations, you made it to the end of the course! What’s your #1 takeaway or favorite thing you learned? How are you going to put your newfound skills to use? Leave a comment in the discussion section and let us know.
philraffsr on April 11, 2019
Simple and straightforward. Would like to have seen some decimal/left-right justification/zero-fill examples.