Мой код:
t = int(input()) # t is the number of Test cases
score = 0
for i in t:
for i in 10:
c = input()
d = list(c)
if(d[0] == "X" or d[9] == "X"):
score+=1
if((i>0 and i1 and i2 and i
Подробнее здесь: https://stackoverflow.com/questions/779 ... t-iterable
Мобильная версия