To understand programming language is not easy. I wouldn’t understand if I’m not practice the programming on something. To make the code work you need to write a lot of function into it such as, for loop, variable, list, dictionary, and etc. Sometime the code is not work properly so you need to find an error and fix that error. Some above that I list is from Python but there are more programming language such as, Java, JavaScript, C++, HTML, CSS, etc. Different program language different function. I have learn two type of python there is python 2 and python 3, the different is : this how python 3 prints function look:
print ("Hello earth")
and this how python 2 print function look like
print "Hello earth"
It a bit confusing sometime but when you do more practice you gonna be better for it. I didn’t try to make game on my own yet but I try to follow there instruction first to some python game on this website: https://trinket.io/ .