changed output to solve 10/73 problems
This commit is contained in:
parent
c9bdf86fac
commit
976b6174eb
@ -10,6 +10,7 @@ def productExceptSelf(nums):
|
||||
if firstHalf:
|
||||
product = firstHalf + secondHalf
|
||||
numsProduct.append(product)
|
||||
|
||||
return numsProduct
|
||||
|
||||
print(productExceptSelf([1,2,3,4]))
|
||||
Loading…
Reference in New Issue
Block a user