Question: In Python 3 Write a function analyze_text that receives a string as input. Your function should count the number of alphabetic characters (a through z,
In Python 3
Write a function analyze_text that receives a string as input. Your function should count the number of alphabetic characters (a through z, or A through Z) in the text and also keep track of how many are the letter 'e' (upper or lowercase). Your function should return an analysis of the text in the form of a string phrased exactly like this: The text contains 240 alphabetic characters, of which 105 (43.75%) are e.
Using function
def analyze_text(text):
Thank You For Your Help!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
