Scientific computing with Scipy assignments