for red in range(1,11): for stupac in range(1,11): print("{0:5}".format(red*stupac), end="") print()