from enum import Enum class ShipMode(Enum): PUT = "PUT" SHOOT = "SHOOT" class ShipDirection(Enum): VERTICAL = "VERTICAL" HORIZONTAL = "HORIZONTAL"