# from random import randint
#
# x = 3
# y = 144
#
# print(f"{x}")
# print(f"{x:4}")
# print(f"{y:4}")
# print("hossss", end="")
# print("lalalala")

#tabliczka mnozenia


for i in range(10):
    print(f"{i:3}", end="")
print(" ")

for i in range(10):
    print(i, end='')
    for j in range(10):
        wynik = j * i
        print(f'{wynik:3}', end="")
    print()



# z = range(10)
#
# print(z)


# if x > 0:
#     print(range(i+i))



    # while i < 10:
    #  print(i+=1)
# for i in range(10):
#     print(f"{(i*i)+1}")
#     i= i+1
