What are the answer choices? The Code of Hammuarbi was a list of laws in Mesopotamia. There was a punishment for each law that was broken. The saying "an eye for an eye" comes from the Code of Hammurabi. If you did something wrong, you would face severe punishment.