We use cookies to enhance your browsing experience.

Learn More
Back to Library
PYTHONpython

F-Strings

Formatted string literals.

name = "Fred"
age = 42
print(f"He said his name is {name} and he is {age} years old.")
python string syntax
25+Total Tools
Operations
4Languages
100%Privacy

We use cookies to enhance your experience and serve personalized ads.