Skip to content

Commit 64e4062

Browse files
Update reset method docstring with new example
1 parent 922a794 commit 64e4062

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

other/shuffled_array.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@ def prng(self, num: int) -> int:
4545
def reset(self) -> list:
4646
# it will return the original given array
4747
"""
48-
>>> Solution([-2, 0, 140, 15, 220]).reset()
49-
[-2, 0, 140, 15, 220]
48+
>>> Solution([-7, 0, 4, -56.7]).reset()
49+
[-7, 0, 4, -56.7]
5050
"""
5151
return self.arr
5252

0 commit comments

Comments
 (0)