Interactive, runnable Python. Edit the code, run it in your browser, no setup required.
Neha keeps a simple calendar of her cycle, counting days from the start of the year. You will write a function for the start of the next period, list her next six periods, and add up the days of bleeding. The idea. A…
A health worker has counted the girls and boys under six in five villages. You will write a function for the sex ratio, find it for every village, list the villages below 950, and find the ratio of the whole district.…
A single cell is put in fresh food. It divides by binary fission every 30 minutes, and every daughter cell does the same. You will list the number of cells after each hour, find when the culture first has more than 50…
Three crop plants are counted in a school garden: how many flowers each has, how many ovules each ovary holds, and what share of the ovules is fertilised. You will find the seeds of each plant, the plant with the most…
Each organism below is described by two facts: whether its haploid stage is a many-celled body, and whether its diploid stage is. You will write a function that names the pattern of the life cycle, sort all eight orga…
A flowering plant has 7 chromosomes in one set. You will work out the chromosome numbers made by double fertilisation, and then count the seeds and the male gametes in a flower where only some ovules received a pollen…
A school garden has six small plants with labels. You will write a key that sorts each one into its group, list the bryophytes, and count the plants that bear cones. The idea. A plant with vascular tissue is a pterido…
A student measured five spores from each of four pteridophytes under a microscope. The widths are made up for this lab, but they are of the right size. You will find which plants are heterosporous, and draw the larges…
A field team has recorded the main pigment and the stored food of eight seaweeds. You will write a key that names the class, count the seaweeds of each class, and list the red ones. Then the program draws the counts.…
Four plants are scored on six characters, coded 1 (present) or 0 (absent). You will count the characters alike for a pair, turn it into a per cent, and find the most alike pair. The idea. Numerical taxonomy gives ever…
Two people eat the same sweet breakfast, and the sugar in their blood starts at 170 mg/dL. One has a pancreas that works well. The other makes too little insulin. You will write the rule that brings the sugar back, fo…
A class grew six seedlings, each with light from one direction, and measured how far each shoot bent after three days. A minus sign means a bend to the left, and a plus sign a bend to the right. One seedling, S3, had…
A message from the skin travels along a nerve to the spinal cord. You will write a function that gives the time for an impulse, use it for three nerves, and find the slowest message. The idea. Time is the length divid…
Deepa does the ruler-drop test six times. Her first try is a warm-up. You will turn each catch into a reaction time, find her average after the warm-up, and draw her tries as a bar chart. The idea. A ruler that falls…
The kidneys of a healthy adult made filtrate at a steady rate all day, but the share taken back changed with what the person drank. The day is split into six blocks of four hours. You will find the urine made in each…
A class counted their pulse for 15 s while sitting, and again after a minute of running on the spot. You will turn the counts into heart rates, find how much each rate went up, and name the student whose rate went up…
A cell can break glucose down with oxygen or without it. You will write two small functions, one for the ATP made and one for the glucose needed. Then the program draws the ATP from ten glucose molecules both ways. Th…
Kavya counts her breaths for ten minutes. She rests for the first five minutes. Then she runs up the stairs, sits down, and goes on counting. You will find her breathing rate at rest, the minute with the most breaths,…
A water plant is lit by a lamp at five distances, and the oxygen bubbles are counted for 3 minutes at each. You will find the rate at each distance, the distance with the fastest rate, and whether the rate always fall…
A list gives the enzymes of human digestion in the order the food meets them, with where each is made and the food it acts on. You will list the enzymes that act on proteins, count the enzymes of each part, and find t…
Lichen species were counted on the trees of eight places (the numbers are made up for this lab). You will write a function that grades the air from a count, grade every place, and count the places in each grade. Then…
Seven infectious agents are described by four facts: are they cells, do they have nucleic acid, do they have a protein coat, are they protein only? You will write a function that names the kind of agent, sort all seve…
A mould colony on a dish of agar has a radius of 3 mm on day 0, and its edge moves out 4 mm every day. The dish has a radius of 45 mm. You will find the radius and the area of the colony each day, and the first day it…
Six protists get their food in different ways. A function tells how each one feeds, in light and in the dark, but it does not yet know about Euglena. You will finish it, list the protists that make their food in the l…
A flask starts with 500 bacteria, and each divides every 30 minutes, so the number is multiplied by 4 every hour. But the flask can hold only 10^9 cells. You will find the count at each hour, the first hour when the f…