Python markdown Experiment

Source: Internet
Author: User
Tags pycharm download

Directory

    • First, Python study preparation
    • Second, Python variables
      • 1. Variables
      • 2. Assigning values
      • 3.Python value

tags (space delimited): Python Language machine learning

Preface: Learn Python through a three-day study and apply it normally. Learn a language remember to cut around, to find a tutorial, fast over, to learn and efficient.

First, Python study preparation

The so-called Integrated development Environment (Integrated development environment), which is what we often hear about the IDE, can be understood as a software that makes a language more comfortable, with debugging, compiling, and correcting functions. Write Python I recommend the IDE developed by JetBrains company Pycharm . Download link: Pycharm download link. I did not use pycharm at the beginning of the python, but also to enter instructions to compile the program, but since the use of Pycharm, just click the Run button on the page to compile, run, when you are in the code, it will remind you in real time whether there is a write error.
After installing Python3.4 you can open IDLE and tap some simple commands.

Second, Python variables

The main story is about variable names, numbers, and characters. Basically, there is no big discrepancy between C + +.
Just a rough introduction.

1. Variables

Variable names are case-sensitive, and name and name are not the same.

2. Assigning values

One of the advantages of Python is that we don't have to specifically emphasize what type of variable it is (integers, floating-point numbers, or other types), and the Python compiler automatically detects subsequent data to infer the type, without knowing what integers, floating-point numbers, and string students are, I'll cover the differences in these data types in the later articles.
Print ("Line 6 & 7") Display printing commands

3.Python value

Addition: +
Subtraction:-
Multiplication: *
Division:/
Division (takes only the whole part)://
Remainder:%
exponentiation: * *
Order of operations, that is, the sign > Powers > Multiplication to take the remainder > Add and subtract, and the sibling operations in the order from left to right

Python markdown Experiment

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.