Python and Mathematics Teaching
Everyone will encounter such problems when they first start learning. Constantly questioning yourself is a kind of self-distrust. Learning python really needs a mathematical foundation, but beginners' high school level is ok, or it may not be a mathematical foundation problem, but a lack of thinking ability. You can start with training your logical thinking ability and practice more, instead of waiting for complete understanding before acting, practicing repeatedly, observing and accumulating.