Mixed Elements MeshConnectivity in python

Please following the instructions in Read before posting: How do I get my question answered?
Creating a minimal example with the appropriate spaces on a mesh such that it is easier for people to help you.