f-strings is a new streamlined way of formatting strings that came with Python 3.6. Traditionally you would format a string like this:
employee = 'Bob'
role = 'Manager'
company = 'Amazon'
print('{} is a {} at {}.'.format(employee, role, company))
employee = 'Bob'
role = 'Manager'
company = 'Amazon'
print(f'{employee} is a {role} at {company}')
You can use python expressions inside of your curly braces.
name = 'Dog Dog'
age = 4
print(f'{name} is {age * 7} in dog years')
f-strings are fast, twice as fast as format() as they are stored as bytecode.
X48EJ
STEEM, STEEM Power, Vests, and Steem Dollars. wtf is this shit?
The truth and lies about 25% curation, why what you know is FAKE NEWS
WTF is a hardware wallet, and why should you have one?
GINABOT - The Secret to your Sanity on Steemit
How to calculate post rewards
Use SSH all the time? Time for a big boy SSH Client
How to change your recovery account
How curation rewards work and how to be a kick ass curator
Markdown 101 - How to make kick ass posts on Steemit
Work ON your business, not in your business! - How to succeed as a small business
You are not entitled to an audience, you need to earn it!
How to properly setup SSH Key Authentication - If you are logging into your server with root, you are doing it wrong!
Building a Portable Game Console