python f string example
Example 1: python f string
>>> name = "Eric"
>>> age = 74
>>> f"Hello, {name}. You are {age}."
'Hello, Eric. You are 74.'
Example 2: Python f string example
name = "Sleepy Joe"
age = 1300
print(f"{name} is {age:,} years old")