diff --git a/NeetCodeRoadmap/Arrays_and_Hashing/238_Product_of_Array_Except_Self.py b/NeetCodeRoadmap/Arrays_and_Hashing/238_Product_of_Array_Except_Self.py index 68a18d7..2ecf106 100644 --- a/NeetCodeRoadmap/Arrays_and_Hashing/238_Product_of_Array_Except_Self.py +++ b/NeetCodeRoadmap/Arrays_and_Hashing/238_Product_of_Array_Except_Self.py @@ -10,6 +10,7 @@ def productExceptSelf(nums): if firstHalf: product = firstHalf + secondHalf numsProduct.append(product) + return numsProduct print(productExceptSelf([1,2,3,4])) \ No newline at end of file