Python codes by me