Formatted printing

  1. format - sprintf
  2. Examples using format - indexing
  3. Examples using format with names
  4. Format columns
  5. Examples using format - alignment
  6. Format - string
  7. Format characters and types
  8. Format floating point number
  9. f-strings (formatted string literals)
  10. printf using old %-syntax
  11. Format braces, bracket, and parentheses
  12. Examples using format with attributes of objects
  13. raw f-strings