TypeError: 'int' object is not iterable
for i in len(nums): n=len(nums) for m in n: if nums[i]+nums[m]==target : return [i,m]Python写循环程序的时候遇到 TypeError: ‘int’ object is not iterable,原因是循环中使用的应该是一组数class Solution...