Moving A Rectangle in Pygame

I'm trying to make a game and encountered a problem... I cant move the rectangle, and it doesn't give me an error code either?.. I think the problem is that it keeps making the rectangle over and over again in the while loop... but I don't know how to fix this..