Answer:
First the ten commandments were created by god on stone tablets for the Jews and Hammurabi's code was claimed to be made/written by the god of justice, Hammurabi; or the simpler answer is the ten commandments is a religious document while the other is a list of laws.
Step-by-step explanation: