To write a python program to circulate the n variables using function concept
PC Anaconda - Python 3.7
Start the program
Write the program appropirately
Get the value from the user for the number of rotation
Using the slicing concept rotate the list
Execute the program
Run the program
#Program to circulate N values.
#Developed by: BHAVATHARANI S
#RegisterNumber:23005455
def circulate():
list=eval(input())
n=int(input())
result=list[n:]+list[:n]
print("After circulating the values are:",result)
Thus the n variables are circulated successfully .