okok so I threw in some python for this problem