Structured programming how to better understand?

Please tell me how to better understand structured programming, started to learn two weeks ago(before I knew the layout, but html and css are not exactly programming) read the book dive into python 3, just watching the course Algorithms and data structures in Python 3.
There is a problem in the code structure, it is very voluminous and is directed at solving a particular problem, although as I understand it, you should try to write a program in a General form, so you can put any number, not just something that is in a specific task. I wanted to go to codewars and after the solution of the problem to watch the best answer, and try to remember how to do it right, please tell me if there are any books on structured programming with tasks, or how best to organize this paradigm.
March 23rd 20 at 18:53
3 answers
March 23rd 20 at 18:55
Structured programming is the easy part.
Try to make the calculations in the subroutine and call the subroutine.

As a result, in the main body you have a call of subroutines, and if you correctly call them, you can easily and quickly understand what's going on in General.
March 23rd 20 at 18:57
March 23rd 20 at 18:59
The structural method appeared getting rid of Goto (listing arrow transitions resembled spaghetti). It was decided to use 3 structures: sequence, fork and cycle. Each structure one input and one output. The second principle is nesting. Therefore, the development programs became step-by-step detail.

Find more questions by tags IT educationPython