WASHINGTON (AP) — US consumer prices rose 0.3% in July, lifted by more expensive gas, medical care and housing.