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:
|
if firstHalf:
|
||||||
product = firstHalf + secondHalf
|
product = firstHalf + secondHalf
|
||||||
numsProduct.append(product)
|
numsProduct.append(product)
|
||||||
|
|
||||||
return numsProduct
|
return numsProduct
|
||||||
|
|
||||||
print(productExceptSelf([1,2,3,4]))
|
print(productExceptSelf([1,2,3,4]))
|
||||||
Loading…
Reference in New Issue
Block a user