Python Learning Path Basics (fifth article)

Source: Internet
Author: User
Previous four days course review

1.python Introduction

2.python Basic data types

Class: Int: integral type  | str: string |  List: Listing |tuple: Tuples |dict: Dictionaries | Set: Collection object: Li = [11,22,33] #列表的一个对象
s = "MoHan" #字符串的一个对象

3. Functional programming

4. Decorative Device

@ Decorator function name def func (): pass where @ Adorner functions the name, the program executes to this, will do the following three steps:1. The Func is passed as a parameter to the adorner function and executes 2. Re-assigns the return value of the adorner function to func3. Executing the Func function is equivalent to executing the return value of the adorner function
Decorative Device

String formatting

Generators and iterators

Recursive

Module

Python Learning Path Basics (fifth article)

Related Article

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.