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 values 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:Mohamed Aakif Asrar S
#RegisterNumber:23003613
def circulate():
l=eval(input())
n=int(input())
l=l[n: ]+l[ :n]
print("After circulating the values are:",l)
Thus the circulate n variables are successfully executed