(the_list)
Given list the_list, recursively converts all integers into strings.
Given list the_list, recursively converts all integers into strings.
Given list the_list recursively converts all integers into strings .
def TurnIntIntoStrInList(the_list):
  """Given list the_list, recursively converts all integers into strings.
  """
  for index in xrange(0, len(the_list)):
    item = the_list[index]
    if type(item) is int:
      the_list[index] = str(item)
    elif type(item) is dict:
      TurnIntIntoStrInDict(item)
    elif type(item) is list:
      TurnIntIntoStrInList(item)
def TurnIntIntoStrInList ( the_list ) : for index in xrange ( 0 , len ( the_list ) ) : item = the_list [ index ] if type ( item ) is int : the_list [ index ] = str ( item ) elif type ( item ) is dict : TurnIntIntoStrInDict ( item ) elif type ( item ) is list : TurnIntIntoStrInList ( item )