Professional Documents
Culture Documents
Olawson Programming Assignment 3
Olawson Programming Assignment 3
Code:
def change_character(character):
# create strings of vowel letter
lower_vowel = 'aeiou'
upper_vowel = 'AEIOU'
def main():
with open('english_text.txt') as file:
lines = file.readlines()
#iterate over all lines of the text
for line in lines:
print()
main()
Picture of code:
Result: