here is my example
class MyClass(Enum):
x=[1,3,5]
y=[2,5,7]
w=[33,49]
I would like to write method that will give me a list of ALL lists from enum. For that example it should return
[[1,3,5], [2,5,7], [33,49]]
I tried something like this:
listWithValues= [ z.value for z in MyClass]
But as you can guess it didnt work. Thanks for any helpful advices.