I don't know why I am getting error.
SyntaxError: invalid syntax ^ def rotate(self, nums: list[int], k: int) -> None: Line 27 (Solution.py)