Python learning two "beginner Python"

Source: Internet
Author: User

The history of computer programming language


Classification of high-level languages


Born in 1989, United Kingdom pronunciation:/?pa?θ?n/, United States pronunciation:/?pa?θɑ?n/
V founder for Ji-so ·? Van Rossum (Guido van Rossum)


Features of the Python language

Interpreted language
(1) Design philosophy is "elegant", "clear", "simple"
(2) Easy to learn, easy to use
(3) High readability
(4) The Philosophy of development is "in a way, preferably only one way to do something."

(5) Modern programming language
(6) Object-oriented
(7) Support for generic design
(8) Support functional programming
(9) Rich data structures and third-party function libraries
(10) Strong function

Several code:

# print Hello, world! to screen//EXECUTE statement print ' Hello, world! '     Comments

Calculate Circle Area
#coding =utf-8//eclipse transcode pi=3radi=3area=pi*radi*2area+=3print Area
Output:21

There are two kinds of Python programming annotation symbols:

Front Plus #

or paragraph first plus "" "

Broken tail Plus "" "

Python learning two "beginner Python"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.