To write a python program to circulate the n variables using function concept
PC Anaconda - Python 3.7
start the program
Get the n values from the users
Get the value from the user for the number of rotation
Using the slicing concept rotate the list
Print the output
End the program.
#Program to circulate N values.
#Developed by: RAMESH RENUKA
#RegisterNumber:23009428
def circulate():
list1=eval(input())
n=int(input())
result=list1[n:]+list1[:n]
print("After circulating the values are:",result)
Thus the cirulate of two values are successfully executed
