Question: USE PYTHON AND VERIFY OUTPUTS IF YOU WILL SPAM IT I WILL REPORT Problem 2 - The Next Leap You are Al the hologram, and
USE PYTHON AND VERIFY OUTPUTS
IF YOU WILL SPAM IT I WILL REPORT


Problem 2 - The Next Leap You are Al the hologram, and Sam Beckett the time traveler has just finished a quantum time leap. Start by telling Sam the day of the week (0-6) and hour of day (0-23) when he arrived. Now prompt the user with one question: How many hours into the future is Sam going on his next leap? Report back the day of the week (0 for Sunday, 1 for Monday, ..., 6 for Saturday) and hour of the day (0- 23) it will be on his next leap. All your data should be integers. You can pick the starting day and time to be whatever you like. For full documentation credit, write two test cases in a comment at the top of your file using the format shown below (but with your own examples.) Do this before you start coding so you will know your program is correct! Test case #1: Currently: Day , hour 12 Leap: 13 hours It will be: Day 1, hour 1. Test case #2: Currently: Day , hour 12 Leap: 200 hours It will be: Day 1, hour 20 Here's an example of what happens when we run our program. (Your output need not be exactly the same): It is currently Day 0, Hour 12 How many hours in the future is Sam leaping? 13 Sam will leap to Day 1 And he will leap to Hour 1 (Maybe that next leap... will be the leap home!)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
