Answer:
Hammurabi’s Code provides some of the earliest examples of the doctrine of “lex talionis,” or the laws of retribution, sometimes better known as “an eye for an eye.”
The 282 edicts are all written in if-then form. For example, if a man steals an ox, then he must pay back 30 times its value. The edicts range from family law to professional contracts and administrative law, often outlining different standards of justice for the three classes of Babylonian society—the propertied class, freedmen and slaves.