how to use format in python 3