Python Forum
I am getting KeyError with format command
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I am getting KeyError with format command
#2
>>> print(f'{"key":1} is {type({"key":1})}')
Output:
key is <class 'dict'>
I welcome all feedback.
The only dumb question, is one that doesn't get asked.
My Github
How to post code using bbtags


Reply


Messages In This Thread
I am getting KeyError with format command - by skpy - Jul-19-2020, 03:23 AM
RE: I am getting KeyError with format command - by menator01 - Jul-19-2020, 03:52 AM

Forum Jump:

User Panel Messages

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