human
Can you provide a the Python code you requested given the following:
I am working on the file "Section 1 - Core Python/Chapter 05 - Data Types/String.ipynb".
The first task is:
>>> TODO !!!
Explain the below examples
Can you write Python code for it?
assistant
#Here is the Python code you requested.

'{} {}'.format('सूर्य', 'नमस्कार')

'{1} {0}'.format('सूर्य', 'नमस्कार')

'{:>10}'.format('सूर्य नमस्कार')

'{:20}'.format('सूर्य नमस्कार')

'{:4}'.format('Bonjour')

'{:_<5}'.format('Ja')

'{:^7}'.format('こんにちは')

'{:.5}'.format('Bonjour')

'{:10.5}'.format('Bonjour')

'{:{align}{width}}'.format('Bonjour', align='^', width='9')

'{:.{prec}} = {:.{prec}f}'.format('Bonjour', 2.22, prec=4)

'{:d}'.format(1980)

'{:f}'.format(3.141592653589793)

'{:4f}'.format(3.141592653589793)

'{:04d}'.format(119)

'{:06.2f}'.format(3.141592653589793)

'{:+d}'.format(119)

'{:+d}'.format(-119)

### Need to find for complex & boolean numbers
## '{:+d+d}'.format(-3 + 2j)

'{:=5d}'.format((- 111))

'{: d}'.format(101)

'{name} {surname}'.format(name='Mayank', surname='Johri')

user = dict(name='Mayank', surname='Johri')
'{u[name]} {u[surname]}'.format(u=user)

lst = list(range(10))
'{l[2]} {l[7]}'.format(l=lst)

from datetime import datetime
'{:%Y-%m-%d %H:%M}'.format(datetime(2017, 12, 23, 14, 15))

class Yoga(object):

    def __repr__(self):
        return 'सूर्य नमस्कार'

'{0!r} <-> {0!a}'.format(Yoga())