How can you put dict and get method inside an f-string?

后端 未结 0 872
暖寄归人
暖寄归人 2020-11-21 07:01

I have this dictionary that I want to embed inside an f-string to shorten up my code (for golfing purposes). Is there any way to include the braces inside the f-string brace

相关标签:
回答
  • 消灭零回复
提交回复
热议问题