Skip to content Skip to sidebar Skip to footer
Showing posts with the label F String

Trying To Understand Some F-string Magic (formatting Mini Language In F-strings)

In a comment on this post, somebody dropped this line of code: print('\n'.join(f'{a:{a}… Read more Trying To Understand Some F-string Magic (formatting Mini Language In F-strings)

What Does = (equal) Do In F-strings Inside The Expression Curly Brackets?

The usage of {} in Python f-strings is well known to execute pieces of code and give the result in … Read more What Does = (equal) Do In F-strings Inside The Expression Curly Brackets?