Place a variable value inside a readable piece of text.
name = "Maya"
message = f"Hello, {name}!"
Line-by-line explanation- The first line stores a name.
- The
f marks the second string as an f-string. {name} is replaced by the value in name.message stores Hello, Maya!.