Learning mathematics by solving problems is part of the french tradition.  You will find many problems in Bourbaki or Dieudonne's Elements d'Analyse.  At a more elementary level there are several problems covering a large amount of material at the end of Colmez's Elements d'analyse et d'algebre (et de theorie des nombres).