Python easy ULTRA PRO MAX Solution
Code\npython3 []\nclass Solution:\n    def scoreOfString(self, s: str) -> int:\n        out = 0\n        for i in range(len(s) - 1):\n            out += abs(ord
# Code\n```python3 []\nclass Solution:\n    def scoreOfString(self, s: str) -> int:\n        out = 0\n        for i in range(len(s) - 1):\n            out += abs(ord(s[i]) - ord(s[i + 1]))\n        return out```
['Python3']