Sounds like you need to get more fluent with Python.
Python and Java are type 2 languages, Clojure and Javascript are type 2 languages.
In a type 1 language you want to look up answers in the official manual because if you do that you'll always get the right answers!
Read the Python manual, read it again, then read it again. Get in the habit of looking up answers in the Python manual, don't look them up on Google (you'll waste time with splogs,) don't look them up on Stack Overflow (the answers are wrong.)