First things first, Im german (strings in german aswell) and a bloody beginner when it comes to coding, but its fun and I want to improve.
This code worked perfectly fine until a changed something that made this error appear: AttributeError: 'int' object has no attribute 'cget'
The cget...