Saturday, November 3, 2018

f-strings in Python 3.6

...are basically like string interpolation in C# 6.0. Instead of the leading dollar sign before the opening double quote you have a lowercase f in Python. The f is for "formatted string literals" it seems.

No comments:

Post a Comment