Return to the general catalog

Catalog :

1. notes

2. The statement

3. Variable

4. data type

5. Data conversion

6. dynamic , Static and strongly typed , Weak type

( One ) notes :( Compile time is ignored by the compiler )

1. Classification of notes :

2. Special notes :

( Two ) The statement :( Mainly in 2.x edition )

Understanding of garbled code :

In fact, different countries have different coding rules , But computers go from text to 010101 The conversion of binary files is the same . In the United States Ascall code , China has its own GB standard , international iso standard , And then an organization, in order to be compatible with coding around the world , That is to say “utf-8” Appearance ,Python3 After that, it was widely used utf-8 The coding .

( 3、 ... and )Python The variable of

stay python In the program , Variables don't need to be defined , In assignment , It's equivalent to defining variables .

( Four )python Data type of :

( 5、 ... and )python The numerical conversion of

( 6、 ... and ) dynamic , Static and strongly typed , Weak type

python Is a strongly typed dynamic compiler language

The end of this section !

Return to the general catalog

I'm Zhang Yigen , A mechanical college student , An undergraduate computer enthusiast , I'm looking forward to sharing computer knowledge with you , Let's make progress together in this big era .

2.1Python Basic grammar ( One ) Comments and data types of : More articles about

  1. python3 Basic grammar ( identifier , notes , data type , Get user output , Code block ,python Reserved words )

    code By default ,Python 3 Source file to  UTF-8  code , All strings are unicode character string . Of course, you can also specify a different code for the source file : # -*- coding: cp-1252 -*- ...

  2. Black horse programmer ——C Basic grammar of language keyword identifier notes Data and data types

    Java train .Android train .iOS train ..Net train . Looking forward to communicating with you ! ( The following content is the summary of personal knowledge of the entrance video of black horse apple ) ( One )C A brief introduction to language (1)C A language program is anything that consists of functions C Language programs are all made up of ...

  3. Swift Basic grammar ( constant variables 、 data type 、 Tuples 、 Optional 、 Assertion )

    This article is from Swift Chinese development group , Thank you for sharing . This paper will be divided into several parts Swift Yes ios Explain the grammar of English . This paper is the first section , Mainly explain the basic grammar . Constants and variables Constants and variables have a name ( such as maximumNumberOf ...

  4. java Basics 01 Variables and comments 、 data type

    1, Variables and comments such as : full name :xiaoming Age :18 1.1 The basic concept of variables When a single data content needs to be recorded in the program , You need to declare a variable to handle , The essence of variable is to apply for a storage unit in memory to store data content , because ...

  5. Nginx Detailed explanation 22 :Nginx Deep learning Lua Interpreter installation and basic syntax

    Interpreter Lua:Lua It's a simple . Light weight . Extensible scripting language Nginx+Lua Full combination of advantages Nginx Concurrent processing of epoll Superior Lua Lightweight implementation of simple functions, cut high concurrency scenarios install Lua 1. Install the interpreter :yu ...

  6. 2-Python Basic grammar - memory management - Operator - Program control

    Catalog 1 Python Basic grammar 1.1 notes 1.2 Indent 1.3 Line continuation 1.4 identifier 1.5 Escape sequences 1.6 Numbers 1.7 character string 1.8 other 2 Python Operator 2.1 Assignment operator ...

  7. Java Basic grammar learning

    Java Basic grammar learning 1. notes Single-line comments : // Single-line comments Multiline comment : /* Multiline comment Multiline comment Multiline comment Multiline comment */ 2. Keywords and identifiers keyword : Java All components need names . Class name . Variable name ...

  8. Python Basic grammar + Simply crawl Baidu Post Bar content

    Python note 1.Python3 and Pycharm2018 Installation 2.Python3 Basic grammar 2.1.1. data type 2.1.1.1. data type : Numbers ( Integers and floating point numbers ) Integers :int type Floating point numbers :floa ...

  9. python Learn lesson three ,python Notes on basic grammar , Arithmetic operator , Variable .

    Catalog python Learn lesson three ,python Notes on basic grammar , Arithmetic operator , Variable . I. 1 python The basic grammar in , notes , Arithmetic operator , Variable 1.python The comments in 2.python Operator in . 3.pyth ...

Random recommendation

  1. django Homework practice

    --- Authority management system requirement : 1, land : a, The decorator determines whether the user has logged in b, User password use md5 send out 2, register a, Check whether the user already exists ,onblur+ajax When the cursor jumps out of the input box ( Use ajax) 3, Cancellation ...

  2. MPP- Instructions

    1. Introduce MPP It is a media processing software platform provided by Ruixin micro , It is suitable for Ruixin microchip series . It masks the complex underlying processing of the chip , The difference between different chips is shielded , Provides users with a unified video media interface . Specific functions provided : Video coding :H264 ...

  3. SG Dafa (Sprague-Grundy function )

    SG Definition of function : g(x) = mex ( sg(y) |y yes x The successor node of ) among mex(x)(x It's a nature, it's a collection ) The function is x On the minimum value in the complement of the set of natural numbers , such as x={0,1,2,4,6} be mex( ...

  4. (13) Custom meaning tags and filters (templatetags)

    Filter is divided into built-in and self-defined meaning PS: Filters can be used in for Circulation and if After judgment , But labels can't be used in for Circulation and if After judgment Built in filter : add( Add and subtract in the template ) default( That is, when the input variable is False Of ...

  5. Python Automated development - object-oriented ( Two )

    Content of this section 1.isinstance(obj,cls) and issubclass(sub,super) 2. Reflection 3.__setattr__,__delattr__,__getattr__ One . isins ...

  6. Ns3 Building dumbbell Topology , And realize the two points of TCP Connect ( Please stamp the full text for details )

    aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAaUAAADlCAIAAAB8n38hAAAV8UlEQVR4nO3dMWjjyBoH8CkNj1uc5v

  7. [JOISC2018] Road construction LCT

    [JOISC2018] Road construction LOJ Portal Big violence in the exam , Actually, I thought of LCT, But the train of thought didn't turn around . Even if I think of it, I can't cut it , I didn't write in the examination room LCT Self confidence ... In fact, this question is not for you to use directly LCT Maintain the answer ...

  8. How to make mysql Sort by two or more fields

    I'm going to design a supply and demand information form , It contains the serial number (id)( Auto increment ), Release date (time), Last update (last_time). Because in order to avoid people repeatedly publishing information to occupy the forefront, so set up last_time This ...

  9. P3924 Connor's line tree

    P3924 Connor's line tree Title Description Kobayashi is a program girl , Unavoidably, Connor's " magic " There was a strong interest in , So Kobayashi began to teach her OI. Today, Connor learned a magic called line tree , This kind of magic can ...

  10. Caught tools Fiddler Use the tutorial

    One . The basic principle Fiddler Acting as agent web Working as a server , It uses a proxy address :127.0.0.1, port :8888 Two .Fiddler Grab https Set up 1. start-up Fiddler, Open... In the menu bar Too ...