To write a python program to circulate the n variables using function concept
PC Anaconda - Python 3.7
Get the value form the user for rotation.
Get the value from the user for the number of rotation
Using the slicing concept rotate the list
#Program to circulate N values.
#Developed by: GURUMOORTHI R
#RegisterNumber: 22008475
def circulate():
a=eval(input())
n=int(input())
print("After circulating the values are:",a[n:]+a[:n])
Thus the program is developed for circulate the n variables.