f=input().strip() z = int(input()) for i in range(z): D = input().strip() x, y = D.split('+') if y.isdigit(): f = f + f[-int(y):] else: f = f[:int(x)] + f print(f)
Hi friends....
In this blog I'm going to give answer for daily test skillrack program, daily challenges and kick start programs and give some coding techniques.
It'll be helpful for u sure and make it usefull
Learn More →
0 Comments