To write a python program to circulate the n variables using function concept
PC Anaconda - Python 3.7
Define a function with a name called circulate
Assign a variable for circulating the n variables
Get the value from the user for the number of rotation
Using the slicing concept rotate the list
Print the circulated values
End of the program
#Program to circulate N values.
#Developed by: CHARU NETHRA R
#RegisterNumber: 23013558
def circulate():
b = a[n:] + a[ :n]
print("After circulating the values are:",b)
a = eval(input())
n = int(input())
Thus the circulate n variables are successfully executed