I bounced around a lot in college. I started in chemical engineering, moved to math, and then finally graduated with a degree in English. After graduation, I attended coding bootcamp.
I was a good programmer, but my core computer science competency was weak. Really weak. However, I was able to land a gig at a very technical company with lots of computer science problems because I had the attitude I can learn anything.
You can learn anything, but you can't learn everything. And you need the right knowledge base to learn effectively. After that, attitude can take you a long way.