LeetCode 1180. Count Substrings with Only One Distinct Letter Python

Published --