largo=int(input("Ingrese un valor en metros"))
ancho=int(input("Ingrese un valor en metros"))
altura=int(input("Ingrese un valor en metros"))
M_volumen={"m3":largo*ancho*altura, "dm3":1_000, "cm3":1_000_000, "mm3":1_000_000_000}
x=int(input("Ingrese un valor en metros"))
valor_en_m3=M_volumen["m3"]
valor_en_dm3=x*M_volumen["dm3"]
valor_en_cm3=x*M_volumen["cm3"]
valor_en_mm3=x*M_volumen["mm3"]
print(f"Tus metros a todas las conversiones del diccionario son: {valor_en_m3}m3, {valor_en_dm3}dm3, {valor_en_cm3}cm3, {valor_en_mm3}mm3")
To embed this project on your website, copy the following code and paste it into your website's HTML: