Python || Very Easy Solution || Using groupby
\tclass Solution:\n\t\tdef maxPower(self, s: str) -> int:\n\t\t\tmaxi = 0\n\t\t\tfor i, j in itertools.groupby(s):\n\t\t\t\ttemp = len(list(j))\n\t\t\t\tif temp
\tclass Solution:\n\t\tdef maxPower(self, s: str) -> int:\n\t\t\tmaxi = 0\n\t\t\tfor i, j in itertools.groupby(s):\n\t\t\t\ttemp = len(list(j))\n\t\t\t\tif temp > maxi:\n\t\t\t\t\tmaxi = temp\n\t\t\treturn maxi\n# if you like the solution, Please upvote!!
['Python', 'Python3']