String Formatting In Python Types Code