Closed lezhang-thu closed 3 months ago
In the code: https://github.com/gaiusyu/Brain/blob/main/Brain/Brain.py#L197 i.e., if father[0] == root_set_detail[key][i][k]:
if father[0] == root_set_detail[key][i][k]:
however, father[0] is of type int, whereas root_set_detail[key][i][k] is of type tuple. So, how to compare these two quantities?
father[0]
int
root_set_detail[key][i][k]
tuple
In the code: https://github.com/gaiusyu/Brain/blob/main/Brain/Brain.py#L197 i.e.,
if father[0] == root_set_detail[key][i][k]:
however,
father[0]
is of typeint
, whereasroot_set_detail[key][i][k]
is of typetuple
. So, how to compare these two quantities?