Python Basic Notes

Source: Internet
Author: User

1. What is Python?

Python is a computer programming language. You may have heard of a number of popular programming languages, such as the very difficult C language, the very popular Java language

2. What python can use to do

Daily tasks, such as automatic backup, can be used to do Web site, cloud computing the hottest language, operators must language, etc.

3. Python version

Python currently has two versions, one is python2.x and the other is python3.x

About Python two versions The difference described here is more detailed

Http://www.cnblogs.com/codingmylife/archive/2010/06/06/1752807.html

4. The first Python program
1 Print ('Hello world! ')
5. Python Input and output

by print() Adding a string to the parentheses, you can output the specified text to the screen. such as output‘hello, world‘

Python provides one that allows the input() user to enter a string and store it in a variable. For example, enter the user's name:

>>> name=input ('pleaseinput your name:') Please input your name:ly> >> name'ly'
name

Python Basic Notes

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.