These codes contain basic concept of Python. It is just an exercise