Multihead And Multidimensional Array Code In Python For Calculator