2. Crypto

Data file: message.txt
This is the text file
you are modifying
so that all vowels
are changed to "*".

Read the file "message.txt" and write the file " crypto_en.txt" which should have the same text as the first file, but with vowels replaced by "*".

Data file: crypto_en.txt

2.1. Exercise

As you can see, the previous code did not change some vowels in the file "message.txt". This is due to capital letters or accents. Your task is to modify the previous program so that it changes ALL vowels to "*". Remember: the .lower() method returns a string with all its characters turned into lowercase letters. This time, you will write to the file " crypto2_en.txt".

Data file: crypto2_en.txt

You have attempted of activities on this page