What forced me to understand more fundamentals was actually studying leetcode. It led me to learn more about data structures, things like itertools, and other other algorithms.
Combined with a good book (eg learn python the hard way) it’s an approach that worked for me.