Americans paid more for their groceries last month, but high gasoline prices resulting from the Iran war were only one of the reasons why.

Higher inflation has persisted as rising prices pressure consumers.

U.S. consumer prices climbed a sharply again last month as the 10-week war with Iran pushed energy prices higher.