how to format string in python3