Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
School assignment
#6
One possible way:
  1. Pre-compute how much heartbeats/breaths you have at the age limits given
  2. Given an age:
  • find the age category,
  • add the pre-computed data for the lower bound of the category to heartbeats/breaths between that lower bound and the actual age.
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply


Messages In This Thread
School assignment - by Ronaldo - Jan-06-2017, 04:29 PM
RE: School assignment - by nilamo - Jan-06-2017, 04:32 PM
RE: School assignment - by Ronaldo - Jan-06-2017, 04:55 PM
RE: School assignment - by Yoriz - Jan-06-2017, 06:04 PM
RE: School assignment - by Ronaldo - Jan-06-2017, 06:24 PM
RE: School assignment - by Ofnuts - Jan-08-2017, 11:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need help with a tough school assignment datson79 5 3,500 Feb-18-2019, 06:01 PM
Last Post: ichabod801
  School Work Assignment: Snake Game DarksideMoses 6 5,264 Apr-29-2018, 10:56 PM
Last Post: DarksideMoses
  Array to get profit (school assignment) harryvandervelden 2 2,884 Nov-28-2017, 05:48 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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