age = 20
name = 'Swaroop'
print('{0} was {1} years old when he wrote this book'.format(name,age))
print('{:.3f}'.format(float(age)/3))
print('{name} wrote {book}'.format(name='Swaroop',book='A Byte of Python'),end='/')
print('{:_^11}'.format('hello'))