Python Forum
what's really wrong with this f-string?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what's really wrong with this f-string?
#2
In the format() syntax, one escapes curly braces by doubling them. It should probably be s=f'{a} "{{"'
Reply


Messages In This Thread
RE: what's really wrong with this f-string? - by Gribouillis - Oct-31-2019, 05:31 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020