Simple code snippets made in process of learning python