We are a little off topic and on well trodden ground… Haha!
However, it’s about time spent really, some people pick up python and the Revit API really quickly and have that moment where it clicks quite quickly, I wasn’t one of them, it took me a long time everyday trying to understand how it all works. The Revit API is NOT python, a lot of people think that by learning python you will automatically understand the Revit API, but this is simply not the case, the Revit API is a little beast in its own right and needs time to understand, but is easier to grasp if you have some basic knowledge in Object Orientated Programming or OOP.
The best suggestions I can offer are the following…
Do a course in OOP in the language of your choice (python maybe better in the context of the Dynamo - I learnt in c# as Dynamo didn’t exist at the time but the concepts are pretty much the same).
Also, as @fluffyhugger suggests, to look at what others do in their nodes. Just like in a lot of things, we learn by imitation. Pick apart other peoples code and understand what they are doing in each step.
Google is your friend and so is this forum! Don’t be afraid to ask questions! We are here to help and won’t judge, we were all where you are once. Also, you will find some good resources by looking.
Read the RevitAPIDocs. I spent a lot of time just reading this (booorrrring maybe… did it pay off? Definitely!)
Help other people with their code, use the Questions on this forum as a challenge. This will help you improve quicker as you will learn faster if you have some context or goal.
But most importantly don’t give up!