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(input())
Get the value from the user for the number of rotation
Using the slicing concept rotate the list
Using concatenation operation display the entire rotated
Stop the program
#Program to circulate N values.
#Developed by: Yuvan M
#RegisterNumber: 23002135
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