Popular recipes by Eric.sun http://code.activestate.com/recipes/users/4183602/2012-11-07T09:17:51-08:00ActiveState Code RecipesUse rot13 to en/decrypt clear text (Python)
2012-11-07T09:17:51-08:00Eric.sunhttp://code.activestate.com/recipes/users/4183602/http://code.activestate.com/recipes/578322-use-rot13-to-endecrypt-clear-text/
<p style="color: grey">
Python
recipe 578322
by <a href="/recipes/users/4183602/">Eric.sun</a>
(<a href="/recipes/tags/encrypt/">encrypt</a>, <a href="/recipes/tags/python3/">python3</a>).
</p>
<p>Encryption.Using your solution to the previous problem, and create a "rot13" translator.
"rot13" is an old and fairly simplistic encryption routine where by each letter of the alphabet is
rotated 13 characters. Letters in the first half of the alphabet will be rotated to the equivalent
letter in the second half and vice versa, retaining case. For example, 'a' goes to 'n' and 'X' goes
to 'K'. Obviously, numbers and symbols are immune from translation.</p>
Demonstrate Rochambeau (Python)
2012-11-01T14:07:54-07:00Eric.sunhttp://code.activestate.com/recipes/users/4183602/http://code.activestate.com/recipes/578313-demonstrate-rochambeau/
<p style="color: grey">
Python
recipe 578313
by <a href="/recipes/users/4183602/">Eric.sun</a>
(<a href="/recipes/tags/python3/">python3</a>).
</p>
<p>demonstrate "stone,stainless,paper" game, user could select a sign, and system will generate random sign to compete with user.</p>