To write a python program to circulate the n variables using function concept
PC Anaconda - Python 3.7
Get the two values from the user
Assign the value of second variable to a temporary variable
Get the value from the user for the number of rotation
Using the slicing concept rotate the list
Print both the values it would be interchanged
End the program
#Program to circulate N values.
#Developed by: vignesh raaj s
#RegisterNumber:23005346
def circulate():
l=eval(input())
n=int(input())
l=l[n:]+l[:n]
print("After circulating the values are:",l)
Thus the circulate the values of N variables is successfully executed