add note for contract line in python,c