by abdusco · 5y ago · 0 comments
name = 'world'
print(f'hello {name.upper()=}')
outputs: hello name.upper()='WORLD'
It's small, but very useful in debugging an issue or logging something to the console.https://docs.python.org/3/whatsnew/3.8.html#f-strings-suppor...