print('{0} 和 {1}'.format('Google', 'Runoob'))
print('{name}网址: {site}'.format(name='菜鸟教程', site='www.runoob.com'))
print('常量 PI 的值近似为 {0:.3f}。'.format(math.pi))
print('{0} 和 {1}'.format('Google', 'Runoob'))
print('{name}网址: {site}'.format(name='菜鸟教程', site='www.runoob.com'))
print('常量 PI 的值近似为 {0:.3f}。'.format(math.pi))