Ejemplo n.º 1
0
             gen.DrawPolygons("white", op3)
             gen.DeleteFromContainer(op3)
         elif(op3 == "hexagon"):
             gen.DrawPolygons("white", op3)
             gen.DeleteFromContainer(op3)
         else:
             print("Wrong option")
             os.system("pause")
     else:
         print("Wrong option")
         os.system("pause")
     
 elif(option == "2"): #Print content of container
     os.system("cls")
     print("\n\n\t\tPolygons in container")
     gen.printPolygons()
     os.system("pause")
 elif(option == "3"): #Print content of container
     os.system("cls")
     print("\n\n\t\tPolygons in container")
     gen.printPolygons()
     os.system("pause")
 elif(option == "4"):
     os.system("pause")
 elif(option == "5"): #Print polygon with minim perimeter
     gen.GetMinimPerimeterPolygon()
     os.system("pause")
 elif(option == "6"):
     os.system("pause")
 elif(option == "7"):
     os.system("pause")