codes writed by python