t = [[y*10+x for x in range(0,10)] for y in range(0,10)] print t[2][3]