The pi is almost self contained.
The pico is a piece of e-waste without a proper computer to program it. So start wit the pi.
It's similar to Arduino boards. You can use Arduino or PlatformIO if you like, or alternately Micropython or CircuitPython.