Quantbot Technologies interview question

Can you use python to calculate max drawdown?