Grok Python’s Powerful f-strings

The advantages of using f-strings should not be overlooked!

Photo by on

Python is known for its concise, readable, and efficient syntax. With the addition of f-strings starting with Python 3.6, this is truer than ever. Even if you have already upgraded your skill set to include the use of f-strings, here are a few nuggets of knowledge you might have missed.

Old School format()

--

--

Author, inventor, entrepreneur — passionate about alternate energy, technology, and how Python programming can help you hack your life.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
John Clark Craig

Author, inventor, entrepreneur — passionate about alternate energy, technology, and how Python programming can help you hack your life.