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
  • Blog

Account

  • Log in
© 2026 senLearn. All rights reserved.HelpAboutContactPrivacy PolicyTerms of UseRefund Policy
  1. Python Labs
  2. /The ADH and urine model
BiologyMediumHigh School (11–12)Human Body › Excretory System

The ADH and urine model

A model says that the urine osmolarity goes from 50 to 1200 mOsmol/L as the ADH effect goes from 0 to 100 per cent. A person must remove 600 mOsmol of solute each day. You will write the model and find the volume of urine.

The idea. Urine volume is the solute divided by the osmolarity. A very large volume of dilute urine is a sign of diabetes insipidus.

Your tasks.

  1. Finish urine_osmolarity. It gives the osmolarity for an ADH effect in per cent.
  2. Finish urine_volume. It gives the litres of urine in a day.
  3. Finish looks_like_insipidus. It gives True when the volume is more than 3 litres.

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, find the smallest ADH effect (a multiple of 5) for which the volume is below 3 litres.

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
More onHuman Body › Excretory System

Discussion (0)

Log in to join the discussion.

Loading…

Learn it in

  1. Regulation of kidney functionUrine Formation and the Control of the Kidney

More labs on this topic

  1. The dialysis timerMedium
  2. The water balance sheetEasy
  3. The medulla modelEasy
  4. The nephron trackerMedium
  5. The nitrogen waste calculator
Easy
All labs on this topic →