Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What have I done wrong?
#4
(Sep-23-2019, 02:07 AM)Gandalf Wrote: Thanks for your help, and what does the f stand for on your last example?

f stands for 'formatted (string literal)'. It's available from Python 3.6 and you can read about in PEP 498 -- Literal String Interpolation
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
What have I done wrong? - by Gandalf - Sep-23-2019, 01:22 AM
RE: What have I done wrong? - by micseydel - Sep-23-2019, 01:29 AM
RE: What have I done wrong? - by Gandalf - Sep-23-2019, 02:07 AM
RE: What have I done wrong? - by perfringo - Sep-23-2019, 02:44 AM
RE: What have I done wrong? - by Gandalf - Sep-23-2019, 03:07 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Am I wrong or is Udemy wrong? String Slicing! Mavoz 3 2,889 Nov-05-2022, 11:33 AM
Last Post: Mavoz
  python gives wrong string length and wrong character thienson30 2 3,133 Oct-15-2019, 08:54 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

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