-
Code # caesar cipher shifted of 13 characters with maketrans for python 2.7 from string import maketrans import string def caesar(s): print(s) s=s.translate(maketrans(string.ascii_uppercase, string.ascii_uppercase[13:]+string.ascii_uppercase[:13])) return s
Test Cases test.assert_equals(caesar("Replace examples and use TDD development".upper()), "ERCYNPR RKNZCYRF NAQ HFR GQQ QRIRYBCZRAG")
Output:
-
- All
- {{group.name}} ({{group.count}})
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}