2
answers
1
watching
267
views
9 Jun 2021
Write a function find_decrypted_words() that takes a file name as parameter, reads that text file and decrypts all of the words by using previously created decode_string() function (in part-4). The function will print perfectly decrypted words and the number of deficient ones. If all characters converted successfully it means that the string is decrypted perfectly (i.e. no "?" in decrypted string).
Write a Python statement that calls the above defined function with the file "encryptedwords.txt".
Part-5:
Decoding encrypted words...
Decoded words:
ALERT
TREX
33 number of words cannot decrypted succesfully
Write a function find_decrypted_words() that takes a file name as parameter, reads that text file and decrypts all of the words by using previously created decode_string() function (in part-4). The function will print perfectly decrypted words and the number of deficient ones. If all characters converted successfully it means that the string is decrypted perfectly (i.e. no "?" in decrypted string).
Write a Python statement that calls the above defined function with the file "encryptedwords.txt".
Part-5:
Decoding encrypted words...
Decoded words:
ALERT
TREX
33 number of words cannot decrypted succesfully
2
answers
1
watching
267
views
For unlimited access to Homework Help, a Homework+ subscription is required.
6 May 2023
Already have an account? Log in