Define the get_text_valuation() function which is passed two parameters,a dictionary and a string of text. The keys of the parameter dictionaryare single letters and the corresponding values are integers (the valueof the key letter), e.g., {‘b’: 5, ‘a’: 6, ‘c’: 3}. The functionreturns the total valuation (an integer) of the string of text where:- if the letter from the text is a keyletter of the dictionary then its value is the integer corresponding to the letter in the dictionary.- any alphabetic characters from the text which are not in the dictionary are worth 1,and,- all non alphabetic characters
PayPal Gateway not configured
PayPal Gateway not configured