name = "Alice"
age = 25
print("My name is %s and I am %d years old." % (name, age))
name = "Bob"
age = 30
print("My name is", name, "and I am", age, "years old.")
name = "Charlie"
age = 35
print("My name is", name, "and I am", age, "years old.", sep='---')
name = "David"
age = 40
print("My name is", name, "and I am", age, "years old.", end=' ')
print("This is on the same line.")
num = 3.14159
print("The value of pi is {:.2f}.".format(num))
name = "Eve"
age = 45
print(f"My name is {name} and I am {age} years old.")