Running first MicroPython script in Raspberry Pi Pico

Had to get the help of ChatGPT to write a code for making the onboard LED in Raspberry Pi Pico start blinking. After that I could change the code to vary the blinking speed, as I did earlier in Arduino Nano. As a disclaimer, I have no prior knowledge of MicroPython!

I bought this Raspberry Pi Pico with Headers and Micro USB Cable from Amazon: https://amzn.to/4mwyt7H Please note that if you buy from this link, Amazon will pay me a small bit as an affiliate, with no additional cost to the buyer.