#-*-coding:utf-8-*-

age = 20
name = 'Swaroop'

print('{0} was {1} years old when he wrote this book'.format(name, age))
print('Why is {0} playing with that python ? '.format(name))
print('{0:.3f}'.format(1.0/3))
print('{0:_^11}'.format('hello'))
print('{name} wrote {book}'.format(name = 'Swaroop', book = 'A Byte of Python'))
print('a', end='')
print('b',end='')
print("This is the first sentence. \
This is the second sentence.")

print(r"Newlines are indicated by \n")