Map And Split Function In Python Formatting Numbers