Each canton consists of a number of districts. Each district consists of a number of municipalities. In Switzerland, most children go to public schools. Private schools are usually expensive. Most municipalities provide kindergartens, primary and secondary schools.
Most cantons provide at least one secondary school.
There are eight universities in Switzerland, six are run by cantons and two are run by the Confederation. After elementary school, children may either choose to go to secondary school or start an apprenticeship. Much later, in the nineteenth century, Friedrich Wilhelm Nietzsche taught at the the University of Basel. The customs regulations are always subject to change. It is therefore in your own interest to inform yourself as to what the regulations are before leaving or entering the country.