Rot-13: Difference between revisions
Content deleted Content added
Line 843: | Line 843: | ||
=={{header|Python}}== |
=={{header|Python}}== |
||
Python 2.x (but not 3.x) has built-in rot13 encoding and decoding: |
|||
{{works with|Python|2.x}} |
|||
Python has built-in rot13 encoding and decoding: |
|||
<pre> |
<pre> |
||
>>> u'foo'.encode('rot13') |
>>> u'foo'.encode('rot13') |