import operator
def yoba(cls):
cls.C = [a + b for a in cls.A for b in cls.B]
return cls
@yoba
class Yoba:
A = [1, 2, 3]
B = [4, 5, 6]
y = Yoba()
print(Yoba.C)
aW1wb3J0IG9wZXJhdG9yCiAgICAgCiAgICAgCmRlZiB5b2JhKGNscyk6CgogIAljbHMuQyA9IFthICsgYiBmb3IgYSBpbiBjbHMuQSBmb3IgYiBpbiBjbHMuQl0KICAJcmV0dXJuIGNscwogICAgCQogICAgCQpAeW9iYQpjbGFzcyBZb2JhOgoKICAgIEEgPSBbMSwgMiwgM10KICAgIEIgPSBbNCwgNSwgNl0KICAgICAgICAKICAgICAKeSA9IFlvYmEoKQpwcmludChZb2JhLkMp
[5, 6, 7, 6, 7, 8, 7, 8, 9]