• Caesar Cipher in Python

    I'm currently teaching my wife to code and one of the problems that we worked on to teach her some fundamental programming concepts was re-implementing the caesar cipher in python. It was fun not only to code but to also start sending each other "secret" messages!

    The caesar cipher is a rather simple encoding, you just shift the alphabet a certain amount of characters. For example, if yo...

  • Convert a string to an integer in Python

    A fun interview question some developers like to ask is to have you convert ascii characters to an integer without using built in methods like string.atoi or int().

    So using python the obvious ways to convert a string to an integer are these:

    >>> int('12...