\n |3| Vertical List \n |4| Reverse Vertical List \n |5| Horizontal List \n |6| Reverse Horizontal List \n |7| POP Pyramid Layer \n |8| DeQueue Pyramid Layer \n |9| Root to Right List \n |10| Root to Left List \n |11| Root to Up List \n |12| Root to Down List """) ch = input("Enter : ") if ch == "1": myPyramid.insert_pyramid_layer(input("Enter Down Data :"), input("Enter Right Data :"), input("Enter Top Data :"), input("Enter Left Data :")) elif ch == "2": myPyramid.graph_view() elif ch == "3": print(myPyramid.vertical_list()) elif ch == "4": print(myPyramid.vertical_rev_list()) elif ch == "5": print(myPyramid.horizontal_list()) elif ch == "6": print(myPyramid.horizontal_rev_list()) elif ch == "7": print(myPyramid.pop_pyramid_layer()) elif ch == "8": print(myPyramid.dequeue_pyramid())