Learn Python the first week - Notes 1

A, python Overview

1, Python language definition

         Python language is an object-oriented computer programming language interpreted by the Dutchman Guido van Rossum in 1989 invention, the first public release was released in 1991. Python is a pure free software, the source code and the interpreter Cpython under the GPL.

2, Python language features

  •   It can reduce the amount of code support large-scale program
  •   It has good compatibility  
  •   A combination of interpreted and compiled

3, Python language development environment

     (1) to Python official website to download the latest version of Python

     

    (2) the installation process: Install Now interface means using its default installation directory, Customize installation means that it will install to a different directory. Note: Add Python xx in the bottom of the interface to Path should check to ensure that the program will help users in the computer's environment variables in the process of installing automatic configuration values ​​of path.

          After clicking Install Now enter the installation interface.

         

    (3) the computer will display a successful installation interface.

        

 

4, Python simple statements

     (1) input () function standard input, so that the computer accepts typed digital subscriber

     Number (2) on the computer input "Tags". The value of the variable is not only numbers can also be a character. Variables can be used to store any data.

     (3) print () standard output function, the result output device on the computer screen. 3.6 version print function using the output of the content when both be parenthesized.

 

 

Released three original articles · won praise 0 · Views 73

Guess you like

Origin blog.csdn.net/shyhankong/article/details/104558584