Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def Decaler(x,d):
- x=str(x)
- while d!=0 :
- y=len(x)-1
- mot=x[y]
- for i in range(0,y):
- mot=mot+x[i]
- d=d-1
- x=mot
- if d==0:
- print(mot)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement