say you have a class that looks like this
class class_name():
    def __init__(self,var1, var2, var3, var4, var5):
        self.var1 = var1
        self.var2 = var2
        self.var3 = var3
        self.var4 = var4
        self.var5 = var5
this can get very long.
I have already tried to use a for loop and an exec statement but that did not work.
is there a shorter way to assign all of the variables to the class?
 
     
     
    