sherburn2LA,
Great minds, etc.
I first heard that from a sailor who was also a pilot.
Foxtrot, foxtrot, foxtrot
PTS,
Sorry. It's only your first post and already you're being exposed to PPRuNe banter.
Seriously, don't even think about buying until you've got your PPL and probably quite a few more hours afterwards. By then you will have figured out what kind of flying you want to do, which will dictate what types you want to consider buying.
If you buy an aircraft to use for your PPL, you will have to pay a premium to the training organization for using your aircraft rather than theirs and you will be responsible for the maintenance. If it goes U/S, you're going to have to wait while it's fixed or rent one to continue your lessons. Double jeopardy.
Unless you plan to do many hours a year (opinions vary, but probably at least 100), renting is almost always the cheaper (and simpler) option.
Standby for lots of advice and also posts from pedants who will tell you a plane is a wood-working tool.
You also might want to try the Search function. This question comes up quite frequently.