Question: answer required in python programming language? If A=0,B=1,C=B+A,D=C+B, and so on, find the sum of the alphabets of a given word. Input Specification: input1: String

 answer required in python programming language? If A=0,B=1,C=B+A,D=C+B, and so on,

find the sum of the alphabets of a given word. Input Specification:

input1: String representing any word Output Specification: Return an integer value which

answer required in python programming language?

If A=0,B=1,C=B+A,D=C+B, and so on, find the sum of the alphabets of a given word. Input Specification: input1: String representing any word Output Specification: Return an integer value which represents the sum of all the alphabets in input1, as per the above-given scenario. Example 1: input1: MAN Output: 377 Explanation: Given the ahove scenario, the values of M,A, and N are 144,0 and 233 respectively. Hence, the sum returned is 144+0+233=377. Example 2: input1: MORE Output: 2121 Explanation: Given the above scenario, the values of M, O, R and E are 144,377,1597 and 3 respectively. Hence, the sum retumed is 144+377+1597+3=21 : Explanation: Given the above scenario, the values of M, O, R and E are 144, 377,1597 and 3 respectively. Hence, the sum returned is 144+377+1597+3=2121. ad only region start UserMainCode(object): delassinethod def letter(cls, input1): input1: string Expected return type : int \# Read only region end

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!