What is the value of triples after the following assignment?
triples = [ (x,y,z) for x in range(1,4) for y in range(2,5) for z in range(5,8) if x+y > z ]
In this , is the time complexity o(n3) ,because we are using 3 loops though we are doing the job only in one line