Question: I cannot get my current code to work. How you you do this in PYTHON? Please make sure it actually works before you answer, thank

I cannot get my current code to work. How you you do this in PYTHON? Please make sure it actually works before you answer, thank you!
Instructions You will be creating a program that will use random numbers to create a set of dates and times that exist since the year the user was born. There may be other ways to create this but we are going to do it a specific way. To use the application, the user will enter the year they were born. Then using pseudo random number generation available using the random module, the program will display to the user a specified number of dates and times which have occurred between the year the user was born and this year (inclusively) Create a Python script 1. Name the script date_maker.py 2. Write code to create the following functionality a. Import the random labrary b. Create a function named get_year_born which accepts nothing (has no parameters) and prompts the user for the year they were born. This function needs to return an integer representation of the user's response. Create a function named get_number_to_show which accepts nothing and prompts the user for the number of date and time pairs to show. This function needs to return an integer representation of the user's response. d. Create a function named get random_time which accepts nothing and returns a string representation of a random time in 24-hour format. The time must be between 00:00 and 23:59 (inclusive) i. You must use the randrange function. 1. Do not use the randint function. il. Hours must be between 00 and 23 (inclusive). . Minutes must be between 00 and 59 (inclusive). iv. Hours and minutes must be in 2-digit format. 1. Hint: go back and look at the format function slides from week 1. c. Create a function named get random_date which accepts the year the user was born and returns a string representation of a random date between the birth year and the current year in the format: month/day/year i. You must use the randrange function. 1. Do not use the randint function il. The date must follow the following rules: 1. The month must be a digit and be between 1 and 12 (inclusive) 2. The day must be a digit and fall between 1 and 28 (inclusive)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
