def twoSum(nums, target):
if len(nums) <= 1:
return False
for i in range(len(nums)):
print(i)
var1 = [2, 7, 11, 15]
var2 = 9
print(twoSum(var1, var2))
problem: works but prints none at the end. anyone know? i tried to change len(nums) in the for i in range line to a number like 1 and still?