comefrom: <garvit244>1071_1.py
code: def gcdOfStrings( str1, str2):
      if len(str1)  > len(str2):
          str1, str2 = str2, str1
          
      l_str1 = len(str1)
      for index in range(1, len(str1)+1):
          if l_str1%index != 0:
              continue
              
          size_to_take = int(l_str1/index)
          substr1 = str1[:size_to_take]
          substr2 = str2
          
          while substr1 == substr2[:size_to_take]:
              substr2 = substr2[size_to_take:]
              
          if substr2 == "":
              return substr1
      return ""
masked: def sample_funcname ( var_0 , var_1 ) :
      if len ( var_0 ) > len ( var_1 ) :
          var_0 , var_1 = var_1 , var_0
      var_3 = len ( var_0 )
      for var_6 in range ( 1 , len ( var_0 ) + 1 ) :
          if var_3 % var_6 != 0 :
              continue
          var_9 = int ( var_3 / var_6 )
          var_10 = var_0 [ : var_9 ]
          var_11 = var_1
          while var_10 == var_11 [ : var_9 ] :
              var_11 = var_11 [ var_9 : ]
          if var_11 == "" :
              return var_10
      return ""
  