I am a happy amateur when it comes in Python and I need help. I am about to create a card game. As it is now, then draws a card out when the program is run. When the user clicks on the "högre" (higher) or "lägre" (lower) - randomly selected new short back and painted the window. From right to left. However, I want the first card, removed and replaced with card number 2. At the same time, the third card to the place where short 2 existed before.

Have made some modifications to your code. Sorry i had to replaced your Swedish text by english text because i did get some encoding errors. Look at my inserted marks '#New by wuf'. To handel the card canvas i used a stack like structure named 'self.draw_card_stack':