python coding exapmles