A program is being written to simulate a daily rainfall measurement in a dry region. The daily rainfall must be a random whole number of millimeters between 5 and 25 inclusive.
An incomplete Python program is provided below:
# Program to simulate a daily rainfall measurement
# TODO 1: Import the random library
# TODO 2: Create a constant called MIN_RAINFALL and set it to 5
MAX_RAINFALL = 25
# TODO 3 & 4: Create a variable called simulated_rainfall and assign
# the result of a library call to generate a random integer
# between MIN_RAINFALL and MAX_RAINFALL (inclusive)
# TODO 5: Display the message "Simulated daily rainfall: " followed
# by the value of simulated_rainfall
Amend the code by completing the sections marked with TODO to:
MIN_RAINFALL with the value 5simulated_rainfallMIN_RAINFALL and MAX_RAINFALL inclusive, assigning it to simulated_rainfall"Simulated daily rainfall: " and the value of simulated_rainfall on the screenDo not add any additional functionality.