title: 'int' object is not iterable on list
body: <p>Given two lists, both having String elements, write a python program using python lists to create a new string as per the rule given below:</p>
  
  <p>The first element in list1 should be merged with last element in list2, second element in list1 should be merged with second last element in list2 and so on. 
  If an element in list1/list2 is None, then the corresponding element in the other list should be kept as it is in the merged list. </p>
  
  <p>Sample Input:   </p>
  
  <pre><code>list1=['A', 'app','a', 'd', 'ke', 'th', 'doc', 'awa']
  list2=['y','tor','e','eps','ay',None,'le','n']  
  </code></pre>
  
  <p>Expected Output:</p>
  
  <blockquote>
    <p>“An apple a day keeps the doctor away”</p>
  </blockquote>
  
  <p>My code:</p>
  
  <pre><code> for i,j in range(n,len(list1)):
       a = 1
       j = n - a
       s = list[i]+list[j]
       resultant_data.append(s)
       a=+1 
       n+=1
  
      return resultant_data
  
  #Provide different values for the variables and test your program
  list1=['A', 'app','a', 'd', 'ke', 'th', 'doc', 'awa']
  list2=['y','tor','e','eps','ay',None,'le','n']
  merged_data=merge_list(list1,list2)
  print(merged_data)
  </code></pre>
  
  <blockquote>
  <pre><code> Traceback (most recent call last):
    line 21, in &lt;module&gt;
      merged_data=merge_list(list1,list2)
    line 8, in merge_list
      for i,j in range(n,len(list1)):
   TypeError: 'int' object is not iterable
  </code></pre>
  </blockquote>