0
The reason behind your problem: The problem is that when this line is executed: btn = Button(command =lambda:[RandomColor()]) by the end of the loop, you get a reference only to the last button which is created. You loose reference to other buttons. Solution: You can overcome this problem if y...