Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x = input('Podaj swój tekst: ')
- if x[0] in ['q', 'w', 'r', 't', 'p', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'z', 'x', 'c', 'v', 'b', 'n', 'm']:
- for i in range(len(x)):
- if x[i] in ['e', 'y', 'u', 'i', 'o', 'a']:
- for j in range(len(x[i+1])):
- x = x[-i:] + x[:-i]
- print(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement