One python3 Programming Fundamentals: Volume is expressed

  The final performance is the operation of the computer to manipulate the data, in order to express and store data, you need to reference the data, the computer can be achieved step by accessing data directly from the memory address, but the programming people have no such ability. Just as people may not reach the balloon aloft, but the state can pull the rope on the balloon and the rope eventually got through hydrogen balloon. That is in the computer, each data is like a balloon has the same value left, and right values ​​indicate the address where the data indicate that the specific content of the data, which is the Birth of variables. Application programmers memory data is achieved by a variety of variables and changes in the form of variables. Programming language variable has its own characteristics, such as: data range, memory size, data organization in memory, even variable support operations.

  The variable data may vary according to need, the variable data may be read out, the variable can write new data. The main variables are: numeric types, strings, lists, tuples and dictionaries.

1, the digital type: comprises a short integer type integer and floating-point type referred to float

  Integer variable can store only integers, no decimal point data;

  Floating point may store data including decimal, floating-point data rounding operation may have

 

Guess you like

Origin www.cnblogs.com/guochaoxxl/p/11781393.html