The issue got fixed after the new update was released Thank you
My Problem was Fixed after update in RT-Thread Studio.
I have no Idea what to Build with Raspberry Pi PICO have any one got any Ideas to share?
I fixed the problem myself. After writing the else part the program ran correctly without any error.
The value is True by default @ErikChan