0

I have a Syntax Error in python and i don't know why, my cod is the description

class property: def __init__(self,grup=None,val=None,num=None,numt=None)#here is the error self.numt = numt self.val = val self.grup = grup self.num = num self.pos_pos = set() self.dict = {'same' : set(),'next_to' : set(),'not_in':set(),'not_with':set()}

9th Feb 2020, 3:19 PM
יובל גופר
יובל גופר - avatar
4 Antworten
0
You forgot : after __init__ function declaration, before the comment, and it seems that you have different indentation for first and other lines in the same function
9th Feb 2020, 3:33 PM
Gabriel Ilie
Gabriel Ilie - avatar
0
Thanks for the answer, but i didn't understand. What should i do to fix that?
10th Feb 2020, 6:52 AM
יובל גופר
יובל גופר - avatar
10th Feb 2020, 7:21 AM
Gabriel Ilie
Gabriel Ilie - avatar
0
Thank u
10th Feb 2020, 9:05 AM
יובל גופר
יובל גופר - avatar