name = "John"
print("Hello, %s!" % name)

# %s - for strings
name = "Martin"

# %d - for integers
age = 23

# %f - for floating point numbers
height = 180.5

print("%s is %d years old.\nMy height is %f" % (name, age, height))

# %.<number of digits>f - Floating point numbers with a fixed amount of digits to the right of the dot.

# %x/%X - Integers in hex representation (lowercase/uppercase)

data = ("John", "Doe", 53.44)
format_string = "Hello"

print("Hello %s %s. Your current balance is $%f" % data)