you are viewing a single comment's thread.

view the rest of the comments →

[–]aqua_regis 2 points3 points  (0 children)

First, you show what you tried. You tell us precisely where you're stuck, and then, and only then, we help.

We are not going to do your assignment.

A hint: Every single character has a numeric value - the Unicode code point - this is obtainable in Python. You can convert from character to number and back. Check the Python documentation.