Python fast one-line solution
Code


# Code
```python3 []
class Solution:
    def reverseDegree(self, s: str) -> int:
         return reduce(lambda acc, enum: acc + (enum[0] + 1) * (123 - ord(enum[1])), enumerate(s), 0)
```
['Python3']