Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Total Strokes Calculator
#3
(Aug-02-2022, 11:48 AM)jefsummers Wrote: You also have to multiply the stroke rate by the time spent at that rate. So, if the rate is 120/min for 3 seconds then 60/min for 2 seconds the total strokes would be

total_strokes = 120/60*3 + 60/60*2 = 8 strokes for the 5 seconds.

Thanks for your reply!

And do you think that I can make this generate automatically every 1 second? For example: summing with the last value?
Reply


Messages In This Thread
Total Strokes Calculator - by marlonsmachado - Aug-02-2022, 01:10 AM
RE: Total Strokes Calculator - by jefsummers - Aug-02-2022, 11:48 AM
RE: Total Strokes Calculator - by marlonsmachado - Aug-02-2022, 12:51 PM
RE: Total Strokes Calculator - by DeaD_EyE - Aug-02-2022, 01:39 PM
RE: Total Strokes Calculator - by marlonsmachado - Aug-04-2022, 12:54 PM
RE: Total Strokes Calculator - by jefsummers - Aug-02-2022, 05:47 PM
RE: Total Strokes Calculator - by jefsummers - Aug-04-2022, 01:57 PM
RE: Total Strokes Calculator - by deanhystad - Aug-04-2022, 02:48 PM

Forum Jump:

User Panel Messages

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