Demo entry 2837926

Task 1

   

Submitted by anonymous on Oct 08, 2015 at 15:46
Language: Python 3. Code size: 700 Bytes.

import sys
while True:
    print(
        '''Plese select one of the options
        1 - Encrypt a Message
        2 - Decrypt a Message
        3 - Advanced encryption
        4 - Exit

        ''')
    users_option = raw_input("Option: ")
    if users_option == "1":
        print("Encrypt a Message selected")
        break
    elif users_option == "2":
        print("Decrypt a Message selected")
        break
    elif users_option == "3":
        print("Advanced Encryption selected")
        break
    elif users_option == "4":
        print("Program will now close")
        break
    else:
        print("Invalid option selected")
        break
        
        

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).