easy python 3 solution
\ndef maxPower(self, s: str) -> int:\n\tl = len(s)\n\tp = 0\n\tcount = 1\n\tfor i in range(1, l):\n\t\tif s[i]==s[i-1]:\n\t\t\tcount+=1\n\t\telse:\n\t\t\tp = ma
```\ndef maxPower(self, s: str) -> int:\n\tl = len(s)\n\tp = 0\n\tcount = 1\n\tfor i in range(1, l):\n\t\tif s[i]==s[i-1]:\n\t\t\tcount+=1\n\t\telse:\n\t\t\tp = max(p, count)\n\t\t\tcount = 1\n\treturn max(p, count)\n```
['Python3']