Matteo Pessina scored the 39th-minute winner as Italy finished top of Group A, with Wales holding on to second place ahead of Switzerland on goal difference.
Switzerland had Welsh hearts racing by establishing a 2-0 interval lead against Turkey in Baku and trimming Wales' goal difference advantage, but their qualification hopes now rest on being one of the four best third-placed sides.
Xherdan Shaqiri scored twice in Switzerland's win over Turkey to keep his side's hopes of progressing from the group alive.
The Liverpool forward Shaqiri gave Switzerland a 2-0 half-time lead after team-mate Haris Seferovic had opened the scoring and added his second after Irfan Kahveci's long-range effort for Turkey had reduced the deficit.
The Swiss, beaten 3-0 by Italy last Wednesday after drawing 1-1 with Wales in their opening match, needed to win to stand any chance of progression.
Turkey head home after three straight defeats, having lost to both Italy and Wales without scoring.
Post of the day
What a relief!
Swiss on a roll
Quote of the day
Finland v Belgium (Group B, St Petersburg, 2000)
Russia v Denmark (Group B, Copenhagen, 2000)
Ukraine v Austria (Group C, Bucharest, 1700)
North Macedonia v Netherlands (Group C, Amsterdam, 1700)