2.3.2 f-Strings
F-String is a string literal that allows you to embed variables directly in the string.
PYTHON
name = "John"
age = 30
print(f"My name is {name} and I am {age} years old.")
F-String
F-String is a string literal that allows you to embed variables directly in the string.