edX: CS, Python. Some exceptions tricks.