Python | Easiest solution
Code


# Code
```python3 []
class Solution:
    def reverseDegree(self, s: str) -> int:

        sum = 0

        for i in range(len(s)):
            sum += (i + 1) * (97 + 26 - ord(s[i]))
        return sum
```
['Python3']