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: OVIYA P
#RegisterNumber:23013207
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