To write a python program to circulate the n variables using function concept
PC Anaconda - Python 3.7
Start the program
Get the input from the user using eval()
Get the value from the user for the number of rotation
Using the slicing concept rotate the list
Using conacatenation operation display the entie rotated list
Stop the program
#Program to circulate N values.
#Developed by: MANOJ KUMAR S
#RegisterNumber: 23002959
def circulate():
list1=eval(input())
n=int(input())
result=list1[n:]+list1[:n]
print("After circulating the values are:",result)
Thus the python program for Circulate the values of n variables is executed successfully