name = "jason"
age = 23

# print('{name} is {age} years old!' .format(name, age))

print('{0} is {1} years old!' .format("jason", 23))
print('{1} is {0} years old!' .format("jason", 23))
print('{} is {} years old!' .format("jason", 23))
print('{name} is {age} years old!' .format(name="jason", age=23))

print('{0} {1} {2}' .format(123, 12345.678, 'Python'))
print('{0} {1:10.2f} {2}' .format(123, 12345.678, 'Python'))
print('{0} {1:<10.2f} {2}' .format(123, 12345.678, 'Python'))
print('{} {:<.1f} {}' .format(123, 12345.678, 'Python'))



