recode codes while i am leanning python