# Enter a code L = [[1, 2, 3], [5, 3, 2], [7, 3, 2]] x = 0 while x < 3: S = 1 for a in L: for b in a: if a.index(b) == x S = S * b print(S) x += 1
错误1:if
a.index(b)
=
x的右边少了1个冒号“:”
错误2:
S
*
b没有向右缩进4个字符