1.在leacode中应该使用return输出,而不是直接使用print()函数; for i in range(len(nums)),for j in range(i+1,len(nums)),需要注意范围