Skip to content

Commit fcfdfb0

Browse files
author
Tushar Roy
committed
fix compiler error in array addition
1 parent d20d504 commit fcfdfb0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎python/array/arrayaddition.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,4 @@ def add(arr1, arr2):
4343
arr1 = [9, 9, 9, 9, 9, 9, 9]
4444
arr2 = [1, 6, 8, 2, 6, 7]
4545
result = add(arr1, arr2)
46-
for i in range(len(result)):
47-
print(" ", result[i], end='')
46+
print(result)

0 commit comments

Comments
 (0)