```
lenN = len(nums)
if lenN < 2:return nums
result_1 =[]
def product(nums, k):
lenN = len(nums)
temp = 1
for i in range(0, lenN):
if i == k:
continue
temp *= nums[i]
return temp
for i in range(0,lenN):
result_1.append(product(nums,i))
return result_1
```