there's a pattern in debugging that basically looks like
print('foo=',foo)
like all languages should, if a pattern is wide-spread, useful and basically boilerplate, python decided to create a language shortcut for it. print('f{foo=}')
Re:Things to use in Python 3
by stOneskull on Wednesday May 15, 2019 @03:45PM
(#19923016)
f before the quote though
>>> f'{foo}=' 'foo=5'