24  f-strings

They work after Python 3.6+ version.

f"{variable_name} "

24.1 Example code

name = "Atilla Özgür"
country = "Turkiye"
output_line = f"My name is {name} and I am from {country}"
print(output_line)

24.2 fixed digits example

decimal_value = 1.454554
print(f"{decimal_value:.2f}")

Of course, there are formatting options for date time and other objects too.