#!/usr/bin/env python # A Program to decode the ciphers from our encoder program # Written by Al Truism def main(): #print "This program will decode secret messages made with the program.\n" inString = raw_input("+ Enter the encoded secret message: ") message = "" for numStr in inString.split(): #break raw input into numStr asciiNum = eval(numStr) - 83 #convert numstr to ascii values msgList = chr(asciiNum) #convert ascii value to character message = message + msgList print "\nThe decoded message is: ", message print if __name__ == '__main__': main()