The specific tutorial is as follows:
1, installation and use of programming environment. For example, Python learning generally recommends the software's own IDLE, which is simple and easy to use.
Figure 1
2. Master the use of input and input statements. Input statements can let the computer know what you entered through the keyboard, and output statements can let you know the results of computer execution. Take the output statement as an example: the content in ""is output as it is, and multiple output items are separated by "".
example
3, master the operation (including calculation, logic) expression. This is mainly related to+,-,*,/,(), >, < lt, gt; =,< expressions of calculation or comparison connected by symbols, so that computers can make computers or make judgments.
example
4, especially to master the use of assignment expressions, which is mainly equal to the understanding of symbols. In computer programming language, the equal sign generally does not mean equality, but assignment. That is, the content on the right side of the equal sign is recorded in the name on the left.
5. Understand and skillfully use variables. The literal meaning of a variable is the amount to be changed. Its basic function is to remember information. Give the content to be memorized a name, and you can find the memorized content by this name. It's a bit like letters in mathematics representing numbers.
example
6. Selection structure is the basis for a computer to have certain selection and judgment ability. For example, our common login, VIP will use the selection structure.
7, circular structure, this is to make the computer have the ability to repeat. The premise is that events should have certain regularity, such as 1, 3, 5, 7, 9. ...
8, file reading and writing, this is mainly for the processing of a large number of data.
Generally speaking, mastering the above content is the beginning.