请大佬看一下哪一步有问题
i = 0 sum = 0 g = 0 s = 0 for i in range (2,149): g = i%10 s = (i/10)%10 if (g==7 or s==7 or i%7==0): sum +=i print(sum)
注意缩进,逻辑或用 or