Shop More Submit  Join Login
About Digital Art / Artist Member Dan James VUnknown Recent Activity
Deviant for 4 Years
Needs Premium Membership
Statistics 169 Deviations 13,421 Comments 36,336 Pageviews

Newest Deviations



Journal History


DANJAMESV's Profile Picture
Dan James V
Artist | Digital Art
Oh why hello there. You scared the flying crap out of me!!! I am Dan James V (the fifth) and I am the associate, production coordinating directorial associate managing departmental divisional office supervisor of the international network amalgamation distributors corporation management organizational association of people who love doughnuts.

Featured artist

My facebook:
My twitter:!/Danjamesv
My Youtube:
My Tumblr:


Hardly any birthday comments D: I'm so unloved lol
I am trying to find a way to basically undo the program i already have written. The program I have code encrypts programs and i need to code one the decodes them. It takes the key the user inputted and adds it to each character.
here is the code.

def main():
    #greet user
    print("Hello user!")
    message = input("Enter a message you would like to encrypt: ")
    key = eval(input("Enter the key: "))
    encrypted = ""
    # code to encrypt message
    for letter in message:
        ordinance = ord(letter)
        character = chr(ordinance+key)
        encrypted = encrypted + character
    # print encrypted message
    print("The encrypted message is: ", encrypted)

I've googled help on this however I am hopelessly lost.

AdCast - Ads from the Community




Add a Comment:
Judaszuechtung Featured By Owner 10 hours ago  Hobbyist General Artist
 your fav is a great help for my contest effort stay in good postion in the view list
thank you a lot
KING-JION Featured By Owner 1 day ago  Hobbyist General Artist
It's a little late... but I got you some Have your cake and eat it too 
(1 Reply)
wimbush55 Featured By Owner 1 day ago
Thanks for the Llama.
KingVintage Featured By Owner 2 days ago  Hobbyist General Artist
Thanks for the faves and Happy belated birthday
Allycat2121 Featured By Owner 2 days ago  Hobbyist Traditional Artist
Thank you so much 4 the badge:-)
Add a Comment: