369562a1e8a6a794167496f2cb9e225d4cf42b10,ciphers/caesar_cipher.py,,main,#,40

Before Change


        elif choice == "2":
            input_string = input("Please enter the string to be decrypted: ")
            key = int(input("Please enter off-set between 1-94: "))
            if key in range(1, 95):
                print(decrypt(input_string, key))
        elif choice == "3":
            input_string = input("Please enter the string to be decrypted: ")

After Change


        print(*["1.Encrpyt", "2.Decrypt", "3.BruteForce", "4.Quit"], sep="\n")

        // get user input
        choice = input("\nWhat would you like to do?: ").strip() or "4"

        // run functions based on what the user chose
        if choice not in ("1", "2", "3", "4"):
            print("Invalid choice, please enter a valid choice")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: TheAlgorithms/Python
Commit Name: 369562a1e8a6a794167496f2cb9e225d4cf42b10
Time: 2020-05-07
Author: 49735721+mrmaxguns@users.noreply.github.com
File Name: ciphers/caesar_cipher.py
Class Name:
Method Name: main


Project Name: autorope/donkeycar
Commit Name: f9796d18c136fad0d06a720faf210c26aecf7ea5
Time: 2018-10-13
Author: liujiaming02@baidu.com
File Name: donkeycar/management/base.py
Class Name: CalibrateCar
Method Name: run


Project Name: TheAlgorithms/Python
Commit Name: b93a9d8e8faa115d06a6bd656f5bf0e91254c1de
Time: 2020-10-25
Author: kushagrabansalajmer@gmail.com
File Name: maths/lucas_series.py
Class Name:
Method Name: