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

558fe5180e0e8fc922d31c23ef84d240

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