To write a python program to circulate the n variables using function concept
PC Anaconda - Python 3.7
GET THE INPUT FROM THE FOR STRING
Get the value from the user for the number of rotation
Using the slicing concept rotate the list
FINALY PRINT THE THE ROTATED LIST
#program to circulate n variables
#Developed by: mohamed Ridwan A
#RegisterNumber: 23003133
def circulate():
l=eval(input())
n=int(input())
l=l[n:]+l[:n]
print("After circulating the values are:",l)
THUS THE PROGRAM FOR CIRCULATING N VARIABLES IS WRITTEN AND THE OUTPUT IS EXECUTED SUCCESFULLY.