f-strings.txt 109 B

12345678910
  1. f'{name}'
  2. f"{name + 5}"
  3. >>> f"""
  4. ... {
  5. ... name
  6. ... }
  7. ... """
  8. rf"{name}"
  9. fr"{name}"
  10. f"{name + f'{name}'}"