I'm learn from w3school and some tutorials on youtube. In programming you need to try and practice. Don't panic with the errors. Honestly , i'm newbie too.
Here's some great videos if you're try to learn python:
I've been programming for more than 3 years now and the way I learned it by looking at people's code. The more you see the better you can get a better overall view