CAN ANYONE PLEASE HELP ME SOLVE THIS PROBLEM WITHOUT RETURNINGERRORS, BAD TOKENS, ETC.
PLEASE INCLUDE CORRECT SYNTAX…MUST BE IN PYTHON 3 AND PASS THETEST
Write a function analyze_text that receives a string as input.Your function should count the number of alphabetic characters (athrough z, or A through Z) in the text and also keep track of howmany are the letter ‘e’ (upper or lowercase). Your function shouldreturn an analysis of the text in the form of a string phrasedexactly like this: “The text contains 240 alphabetic characters, ofwhich 105 (43.75%) are ‘e’.”
USING FUNCTION: def analyze_text(text):
Thank You For Your Help!
Expert Answer
An
PayPal Gateway not configured
PayPal Gateway not configured