Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- str = "XLI UYMGO FVSAR JSB NYQTW SZIV XLI PEDC HSK SJ GEIWEV ERH CSYV YRMUYI WSPYXMSR MW KTTKJQKWKTEI"
- new = []
- for y in xrange(1,27):
- for x in str:
- if(x == " "):
- new.append(x)
- continue
- reform = ord(x)
- if((reform + y) < 91):
- new.append(chr(reform + y))
- else:
- new.append(chr(reform + y - 26))
- print ''.join(new)
- new = []
Advertisement
Add Comment
Please, Sign In to add comment