Jump to content

python f-strings


fanThomas

Recommended Posts

I am missing the explanation for the f-strings in python 3.6+. I am learning python and found such a expression in the example for the __str__() Function. I was curious how that works but din't find  an explanation. An external investigation cleared the fog an I found that it is not mentioned in string.format section where it belongs to.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...