func_code: def weird_case(some_str):
      some_str = some_str.lower()
      sentence = list(some_str)
      i = 0
      while i < len(sentence):
          if sentence[i].isalpha() and i % 2 == 0:
              sentence[i] = sentence[i].upper()
          i = i + 1
      return join(sentence)