I intend to create Action space in GYM with range from 0 to 10
I want action space like [0 0.5 1 ..... 10]
Another way is to use Enum. See below
from enum import Enum class Actions(Enum): action1 = 0 action2 = 1 action3 = 2 # when you call action == Actions.action2.value
Another way is to use Enum. See below