title: Creating an 'or' statement in a list Python
body: <p>So I've tried a few ways to search for my problem but nothing seems to give me the exact answer I am looking for. Here is my code for context:</p>
  
  <pre><code># Import arcpy module
  import arcpy
  arcpy.env.overwriteOutput = True
  arcpy.env.workspace = "F:\\dir"
  
  # Check out any necessary licenses
  arcpy.CheckOutExtension("spatial")
  
  # Local variable:
  Inpoints = "F:\\dir\\x.shp"
  
  fdata = "_01,_02,_03,_04,_05,_06,_07,_08,_09,_10,_11,_12"
  fdata = fdata.split(",")
  
  #initalizing the list
  Inraster = []
  
  #build list of inputs
     for year in range (1983, 2014):
       for line in fdata:
        date = str(year)+line
        Inraster1 = ["rfe"+date+".tif", date]
  
      Inraster.append(Inraster1)
  
  # Process: Extract Multi Values to Points
  
  arcpy.gp.ExtractMultiValuesToPoints_sa(Inpoints, Inraster, "NONE")
  </code></pre>
  
  <p>For the fdata line, I'd like it to read as or, so it doesn't search for every raster as some of the rasters in the ranges for various years don't exists (eg - month 1 1985 may exist but month 1 in 2003 does not). </p>
  
  <p>Not sure if that makes sense? </p>
  
  <p>(Notes: Using python 2.7)</p>