Python Forum

Full Version: [split] Calculate Times
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm new to Python and I'm trying to calculate the following time:

start_hour = 3
start_minute = 48
length = 172


The variables above represent the start time for a run as well as the length of the run

in minutes. The original values, for example, show a run that started at 3:48 and lasted 172 minutes.
What have you tried and how is it not working?
I'm just totally lost.
We'll be most able to help if if you're very specific, e.g. exact input and desired output. With this, you should provide your code which you've attempted to accomplish your goal, and explain what is "blocking" you from proceeding with your project.