for key2, val2 in val.items():
                formal += "\n" + str(key2) + " = " + str(val2)