Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
need code
#11
The code is correct, no typo. Starting in Python 3.6 we have f-string functionality. See PEP for string formatting. Look at the code in the abstract section near the top.
Reply
#12
printf ic 'C',
print(f"...") is a python f-string which is a very powerful string formatting method introduced in Python 3.6.

Quote:And about the cut-paste , you have a mistake .
As stated
Quote:windows instructions from memory, so might be slightly different.
Reply
#13
To wrap it up ,
Thank you for the code , and thank you for the tips !
Reply


Forum Jump:

User Panel Messages

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