for i in range(3,33,3): for j in range(1,11,1): print("3 *", j, \'=\', i) if j == 10: break
This is the output that I am getting:<