While the Raspberry Pi has more input/output pins and better programming performance with a larger RAM, the Arduino is a smaller microcontroller that requires less RAM and is better suited for completing simple tasks.
Arduino is simpler but has limited capabilities, while Raspberry Pi is more advanced with wider capabilities and unlimited storage. Both are popular and available.
Hopefully, this article has provided an in-depth comparison of both boards for you to make a decision. Take your time to study it closely before purchasing a board for your young learners!