Программа выдает ошибку на 1 строке. Помогите плз


ki,kj = list(map(int, input().split()))
b = [['.'] * 12 for i in range(12)]
moves = [[1,2],[1,-2],[-1,2],[-1,-2],[2,1],[2,-1],[-2,1],[-2,-1]]
ki += 1
kj +=1
for di,dj in moves:
i = ki+di
j=kj + dj
b[i][j] = '*'
b[ki][kj] = 'К'

for row in b[2: -2]:
print(' '.join(row[2:-2]))
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.