You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
400 B
25 lines
400 B
#!/usr/bin/env python
|
|
from __future__ import print_function
|
|
|
|
import sys
|
|
|
|
|
|
def main(sysargs=sys.argv[:]):
|
|
d = {}
|
|
for c in (65, 97):
|
|
for i in range(26):
|
|
d[chr(i+c)] = chr((i+13) % 26 + c)
|
|
|
|
print(
|
|
"".join([
|
|
d.get(c, c) for c in " ".join(sysargs[1:])
|
|
]),
|
|
end=""
|
|
)
|
|
|
|
return 0
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|