how does the format map function in python work