Python Forum
[split] Calculate Times
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] Calculate Times
#1
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.
Reply
#2
What have you tried and how is it not working?
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply
#3
I'm just totally lost.
Reply
#4
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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] How to calculate tax with a variable input and if else rokemas 1 2,109 Dec-28-2020, 06:53 AM
Last Post: buran
  Find how many times a user played an artist and how many times disruptfwd8 1 2,577 May-04-2018, 08:32 AM
Last Post: killerrex

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020