F-Strings in Python
F-strings, introduced in Python 3.6, brought a new and improved way of formatting strings. The ‘f’ in f-strings stands for “formatted”, indicating their primary purpose. F-strings provide a concise and readable way to embed Python expressions inside string literals for formatting. They are faster than both % formatting and str.format() as they are evaluated at …