8000 Merge pull request #3 from asutosh97/patch-1 · sadid07/practice-python@7f8c1ef · GitHub
[go: up one dir, main page]

Skip to content

Commit 7f8c1ef

Browse files
authored
Merge pull request jwasham#3 from asutosh97/patch-1
updated comment for .remove()
2 parents 91cea47 + 82f349b commit 7f8c1ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arrays/array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def array_test():
1111
print(ar)
1212
print("Index of 4: ", ar.index(4)) # index of given value
1313

14-
ar.remove(4) # remove item with given value
14+
ar.remove(4) # remove the first occurence of item with given value
1515
print("Removed 4: ", ar)
1616

1717
ar.reverse()

0 commit comments

Comments
 (0)
0