Skip to content

Commit 5a1cf10

Browse files
committed
fixed non-pep
1 parent 8aa6469 commit 5a1cf10

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

data_structures/arrays/rotate_array.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
from typing import List
2-
3-
4-
def rotate_array(arr: List[int], steps: int) -> List[int]:
1+
def rotate_array(arr: list[int], steps: int) -> list[int]:
52
"""
63
Rotates a list to the right by steps positions.
74

0 commit comments

Comments
 (0)