79509269

Date: 2025-03-14 13:56:03
Score: 1.5
Natty:
Report link
def Lshift(arr,n):
    a=Lshift[n:]+Lshift[:n]
    return a
arr=[1,2,3,4,5,6,7]
n=int(input("enter a number by which you want to seperate:"))
x=Lshift(arr,n)
print("original list :",arr)
print("after shifting list :",x)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: bhavesh