I am teaching a molecular simulations/intro to python course and have just finished drafting the last sets of peer instruction questions. Here's the last question. The idea is that they have to write a small python program on the spot but this might be more of a take home question. Can you do it?
I'm not always this "evil". Here's a more typical one.
This work is licensed under a Creative Commons Attribution 4.0