>>> for a in range(1,3): for b in range(1,3): global cnt cnt=cnt+a+b print(cnt) SyntaxError: invalid syntax 查看完整描述