brute force is the technique of trying every possible key until you find the correct one because there are only possible keysit would be easy for cryptanalyst to write hacking program than decrypts with every possible key then they could look for the key that decrypts to plain english let' add brute force feature to the program adding the brute force mode firstchange lines and (which are in the getmode(functionto look like the following (the changes are in bold) def getmode() while true print('do you wish to encrypt or decrypt or brute force message?' mode input(lower( if mode in 'encrypt decrypt brute bsplit() return mode[ else print('enter either "encryptor "eor "decryptor "dor "bruteor " 'this code will let the user select "brute forceas mode modify and add the following changes to the main part of the program mode getmode( message getmessage( if mode[ !' ' key getkey( print('your translated text is:' if mode[ !' ' print(gettranslatedmessage(modemessagekey) else for key in range( max_key_size ) print(keygettranslatedmessage('decrypt'messagekey)these changes ask the user for key if they are not in "brute forcemode the original gettranslatedmessage(call is made and the translated string is printed howeverif the user is in "brute forcemode then gettranslatedmessage(loop that iterates from all the way up to max_key_size (which is remember that when the range(function returns list of integers up tobut not includingthe second parameterwhich is why you have