HelpContactFor teachers and institutes
>_StemPy Lab
Mock TestsClasses

>_StemPy Lab

Learn. Solve. Code the solutions. Test yourself.

Live examsFree mock exams, timed and rankedEveryone starts together, and your score and rank come the moment it ends.See the exams →

Learn

  • Physics
  • Chemistry
  • Mathematics
  • Biology
  • Python Programming
  • Statistics & Data Science
  • Classes
  • Groups

Practice

  • Problems
  • Quizzes
  • Mock Tests
  • Prepare for an Exam
  • Question Sets
  • Exams
  • Certificates
  • Python Labs
  • AI Practice Generator
  • Student-Created Tests

Community

  • Discussions
  • Resources
  • Notes
  • Glossary
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpFor SchoolsAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Python Labs
  2. /Reading growth readings
BiologyEasyHigh School (9–10)Ecology and Environment › Organisms and Populations

Reading growth readings

You will write functions that read a list of counts of cells made at equal times.

The idea. The change between two readings is the later count minus the earlier count. The phase follows the sign and size of the change: a fall is the death phase, no change is the stationary phase, and a rise is growth.

Your tasks.

  1. Finish changes. It gives a list of the changes between each reading and the next.
  2. Finish peak_time. It gives the time at which the count is greatest.
  3. Finish phase_of. It gives the word "death" for a fall, "stationary" for no change and "growing" for a rise.

Run it first, just as it is. The checker at the end prints FAIL for each task. Then do the tasks one at a time, and run the program again after each one. A Hint appears under every check that still fails.

When every line says PASS, call changes([10, 20, 40, 40, 30]). Which phase does each change stand for?

StemPy LabContributed by StemPy Lab
python
Loading Python runtime…

A worked solution

Have you tried it?

Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.

Log in to save
← All Labs
← The nitrogen chainA model of levelling off →
More onEcology and Environment › Organisms and Populations

Discussion (0)

Log in to join the discussion.

Loading…

More labs on this topic

  1. A model of levelling offEasy
  2. Name the interactionEasy
  3. The predator and prey stepperMedium
  4. Growth in a loopMedium
  5. The population ledgerEasy
All labs on this topic →