►
Run
i = 1 while i <= 4 : j = 0 while j <= 3 : k = 0 while k <= 5 : print(i*j*k, end=" ") k += 1 print() j += 1 print() i += 1
Output