I faced such a problem that with one algorithm different arrays are generated for me. Why is this happening to me?
def formation(self): tickets = 0.00