records/01-05/sss.py
def rotate(self, nums, k: int) -> None:
        """
        Do not return anything, modify nums in-place instead.
        """

        size = len(nums)
        nums[:] = nums[size - k:] + nums[:size - k]
        print(nums)

        Do not return anything, modify nums in-place instead.
        
Do not return anything, modify nums in-place instead.
Do not return anything modify nums in - place instead .
def rotate(self, nums, k: int) -> None:
        size = len(nums)
        nums[:] = nums[size - k:] + nums[:size - k]
        print(nums)
def rotate ( self , nums , k : int ) -> None : size = len ( nums ) nums [ : ] = nums [ size - k : ] + nums [ : size - k ] print ( nums )
Do not return anything, modify nums in-place instead.
Do not return anything modify nums in - place instead .
"""
        Do not return anything, modify nums in-place instead.
        """
self
nums
k
int