Combining python str.format examples