To write a python program to circulate the n variables using function concept
PC Anaconda - Python 3.7
Define a function called circulate
Get the list of elements from the users in a list
Get the value from the user for the number of rotation
Using the slicing concept rotate the list
Finally print the output
Call the function
#Program to circulate N values. #Developed by: ABISHAI KC #RegisterNumber: 23001564
def circulate():
l1 = eval(input())
n = int(input())
print("After circulating the values are:",l1[n:]+l1[:n])
Circulate-the-values-of-N-variables