I’m pretty sure Rowling explained that, prior to Hogwartz, students would often attend a normal school environment (especially Muggle-born). It’s also explained that things like math aren’t complicated at all for wizards, which is why their currency isn’t base 10 or anything. Wizards have no problem converting knuts…