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

Watchers

Friends

Journal History

deviantID

DANJAMESV's Profile Picture
DANJAMESV
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
:iconizzyfox127::icondvodoo1::iconrasheedzee::iconjetseta::icondantheartist::iconwatercreess::iconblacksen::icontra169::iconzeckos::iconguillmon9005::iconsilrance::iconthechamba::iconchain-619::iconrobaato::iconicecry::iconodunze::iconkraola::iconbleedman::iconkraken4220::icongeekykitten64:



My facebook: www.facebook.com/DanJamesV?
My twitter: twitter.com/#!/Danjamesv
My Youtube: www.youtube.com/DanJamesV
My Tumblr: www.danjamesv.tumblr.com
Interests

Activity


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)
main()

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

AdCast - Ads from the Community

×

Webcam

Comments


Add a Comment:
 
:iconjudaszuechtung:
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
Reply
:iconking-jion:
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 
Reply
(1 Reply)
:iconwimbush55:
wimbush55 Featured By Owner 1 day ago
Thanks for the Llama.
Reply
:iconkingvintage:
KingVintage Featured By Owner 2 days ago  Hobbyist General Artist
Thanks for the faves and Happy belated birthday
Reply
:iconallycat2121:
Allycat2121 Featured By Owner 2 days ago  Hobbyist Traditional Artist
Thank you so much 4 the badge:-)
Reply
Add a Comment: