Press / tap the triangular button to run the Python 3.0 code

If the following code snippets are stuck or not running properly, please do the following:
  1. Copy the entire code from a box.
  2. Delete everything in the left hand side code box of the new page.
  3. Paste your code (that you copied) there and run.

Unconditional altruism without mutation

Unconditional altruism with mutation

Conditional altruism without mutation

Conditional altruism with variable linkage

Kin altruism

ExistenceMutationCompetitionSelection → Altruism → Aggression
[This is not necessarily a sequence of events as it happens in evolution but merely the chronology of a lesson plan.]