Meng Kee 01-- small python learning new evolution

1. abbreviation

For example newline \ n represent [] + newline; backspace \ b + backspace] [Representative; Enter \ r [representatives] + return. You can remember the escape character in accordance with this method meaning

Integer, Integer English as integer, abbreviated do int integer, integer English as integer, abbreviated do int

str represents a string, called String , Integer English referred to as int , called Integer .

2. = and ==

Source world, the assignment symbol = is not equal to the left to the right meaning. Action only for assignment: to put the right content to the left box.

3. integer

The integer [quote] took off the vest, can only "act alone." Once the hit symbol and other text-based data, such as Chinese, English, is given immediately spike.

4. Float

The English name is a float float, and integer (int) and string (str) different, there is no floating point short.

Float may make you a little dizzy, because, [and] precision integer arithmetic result is always different characteristics, the computer's floating-point operations are imprecise, there will be a rounding error. What does this mean?

Guess you like

Origin www.cnblogs.com/xiangnianchulian/p/12543649.html