*My pygame window is black until i close it at the end

so i already posted three months ago and only reviwed my coded recently , still dotn know what is wrong . the code is quite simple however something keeps going wrong.

a possible flaw is the FPS clock which would expain why its black screen but the visible when i close t/he window.

if anyone knows what may be the problem please reply and ill send the code if neccesary , thnaks