Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 288 Bytes

4_Summary_Format_String.md

File metadata and controls

10 lines (8 loc) · 288 Bytes

str.format

  • Concepts apply to f-strings.
  • Compatible with all versions of Python.

f-strings

  • Always advisable above all methods.
  • Only suitable when working with the modern versions of Python (3.6+).

Template strings

  • When working with external or user-provided strings