Codes written when studying python.