title: python List is not defined error not sure how to define the List
body: <pre><code>def findMedianSortedArrays(self, nums1: List[int], nums2: List[int]) -&gt; float:
  
      concat = sorted(nums1 + nums2)
      median = concat[len(concat) //2] if len(concat)%2 ==0 else (concat[len(concat) //2]                             +concat[(len(concat)+1)//2])/2
      return median
  </code></pre>
  
  <p>the error code is following <br/></p>
  
  <hr>
  
  <blockquote>
    <p>NameError                                 Traceback (most recent call
    last)  in 
    ----> 1 def findMedianSortedArrays(self, nums1: List[int], nums2: List[int]) -> float:
          2 
          3     concat = sorted(nums1 + nums2)
          4     median = concat[len(concat) //2] if len(concat)%2 ==0 else (concat[len(concat) //2]<br>
    +concat[(len(concat)+1)//2])/2
          5     return median</p>
    
    <p>NameError: name 'List' is not defined</p>
  </blockquote>