Create a Python function to parse a date string to obtain the month and day as integers.
Create a function that can parse a date string in the format 'YYYY-MM-DD' and return a tuple containing the integers of the month and day from the date. ### Parameters - `date_str`: A string representing a date. The date is in the format 'YYYY-MM-DD'. ### Return Value - This function returns a tuple with two integers, the first integer is the month from the date and the second integer is the day from the date. ### Examples ```python # The month in the date '2018-04-23' is 4 and the day is 23 solution('2018-04-23') # Returns: (4, 23) # The month in the date '2020-01-03' is 1 and the day is 3 solution('2020-01-03') # Returns: (1, 3) # The month in the date '2019-08-27' is 8 and the day is 27 solution('2019-08-27') # Returns: (8, 27) ```