To write a python program to circulate the n variables using function concept
PC Anaconda - Python 3.7
Get the n values from the user
Get the input
Get the value from the user for the number of rotation
Using the slicing concept rotate the list
print the values it would be interchanged
End the program
#Program to circulate N values.
#Developed by:vaishnavi
#RegisterNumber:22009040
def circulate():
circul = l[n:]+l[:n]
print('After circulating the values are:',circul)
l = eval(input())
n = int(input())
Thus the circulation of the n variables are successfully excueted