Single line solution || Python || Super fast, beats 100% in run time || Easy solution
Code

# Code
```python3 []
class Solution:
    def scoreOfString(self, s: str) -> int:
        return sum(abs(ord(s[i-1]) - ord(s[i])) for i in range(1, len(s)))
```
['Python3']