How to concatenate string in Python using format() function