Answer the question
In order to leave comments, you need to log in
Structured programming, how to understand better?
Please tell me how to better understand structured programming, I started studying two weeks ago (before that I knew layout, but html and css definitely not programming) I read the book dive into python 3, I also watch the course Algorithms and data structures in Python 3 .
There was a problem in the structure of the code, it is very voluminous and aimed at solving a specific problem, although as I understand it, you need to try to write a program in a general form so that you can substitute any number, and not just the one that is in a specific problem. I wanted to go to codewars and after solving the problem, look at the best answer, and try to remember how to do it right, please tell me if there are books on structured programming with problems, or how best to systematize this paradigm.
Answer the question
In order to leave comments, you need to log in
Structured programming is the easiest.
You try to move calculations into subroutines and call subroutines.
As a result, in the main body you have a call to subroutines, and if you also name them correctly, it will be easy and quick to figure out what is happening in general terms.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question