My function myfunction needs custom classes as an input. I defined a lot of custom classes. I want to call myfunction with every definition of my custom classes. Is there an easy way to do this?
Basically I want to do something like this:
from custom_lib import Class_0,Class_1,....Class_100
for i in range(101):
myfunction(Class_i)
and replace the i in the for loop so the functions gets called with all classes. Thanks in advance.