Date Range Function In Python Parameters