add some practising python codes