python string format %s code example Example: python format strings name = "Rick" age = 42 print(f"My name is {name} and I am {age} years old")