codes samples to learn python 3