Learn first,
If you love it you should consider buying.
I finished my licence and bought a 150 which I kept for three years and then sold for a profit.
I then bought a 172 which I have had for three years and will soon sell for a profit.
My flying tastes have somewhat changed and I tend to fly about with three empty seats which seems rather pointless to me.
Therefore time for a change.
What I am saying is work out what you really want before you buy.
You might even want to try microlighting as well as Group A?