If a resident of Sweden and wanted to make a visit to United Kingdom, one won’t need a visa if the tour is of six months or less. But if the visit is of a longer duration visa requirements are to be fulfilled.
You don't have to get one. If the visit purpose is for education. They will ask you what the purpose of the visitation is. Just tell them education. Good luck.