message: Update minimum-number-of-flips-to-make-the-binary-string-alternating.py
diff: @@ -9,7 +9,7 @@ class Solution(object):
  """
  result = float("inf")
  cnt1 = cnt2 = 0
  - for i in xrange(2*len(s)-1):
  + for i in xrange(2*len(s)-1 if len(s)%2 else len(s)):
  if i >= len(s):
  cnt1 -= int(s[i%len(s)])^((i-len(s))%2)^0
  cnt2 -= int(s[i%len(s)])^((i-len(s))%2)^1
  