You will write three small functions that turn a number of base pairs into a length, a number of turns and a number of nucleosomes.
The idea. Each base pair adds to the length, 10 base pairs make a turn of the helix, and a nucleosome holds 200 base pairs.
Your tasks.
length_mm. It gives the length of the DNA in millimetres. There are nm in a millimetre.turns. It gives the number of turns of the helix.nucleosomes. It gives the number of nucleosomes that the DNA can fill.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 join the discussion.
Loading…
With Standard, you also open 12 more problems, 2 Python labs and 1 extra course. Everything you have used here stays free, always.