I am seeing mixed answers on other posts so I thought I would ask here. Is there a way to automate the raster calculator?

I am trying to create a series of inundation maps at fine increments. It is tedious to do manually, so I would like to write a script that will loop the raster calculator.