Studying most things in most places is free of charge in Germany. Generally there'll be a mandatory fee that includes a public transport ticket and some administrative overhead (~300-400€/6 months).
In Poland state universities are free. You only need to pay for books, and they're reasonably priced (i.e. the textbooks prices are not extortionate like for example in the US), like normal books.