Thanks to visit codestin.com Credit goes to intelpython.github.io
method
Return format(self, format_spec).
format(self, format_spec)