Write a Python function to rotate the list of elements by N positions. The function should return the rotated list. Note : Assume that number of positions to be rotated is always a value >= 0 and <= ...
This function rotates a list to the left by a specified amount. :param input_list: A list of any type of object :param rotate_amount: An integer representing the number of places to rotate the list.
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana