In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
What is the knowledge point of the introduction to Python? in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
The basic Python course includes knowledge points such as variables, operators, input and output conditions and loop statements, knowledge of Python, learning the first Python program, comments and Python2 Chinese problems, variables and type conversions, identifiers, keywords and hump naming, input / output and operators, conditions and loop statements, etc.
The first Python program
Introduction of Python
Sublime, vi edit the code, Python runs the code
The first helloworld program, pay attention.
The interaction mode of Python, iPython
II. Chinese problems of Notes and Python2
Notes
The solution of Python2 Chinese
Variables, inputs and outputs, operators
Define variables, use variables
Print a business card
Input functions in Python2 and Python3 are different
The type of variable and the conversion of the type
If 、 else
Execute a statement when if is satisfied
Keywords, identifiers, hump naming
Operator
Print outputs the values of multiple variables at once
4. If, while, for
If comparison operator, and, or
Use if to complete Bai Fumei
Attention points of if statement
If logical operator, not
Use of if and elif 1
Use of if and elif 2
While cycle
The number between while cycle 1,100
If nesting, getting on the train
If nesting, emphasis
If is nested, rich and handsome.
Print rectangle
Compound assignment operator
Print triangles
99 multiplication table
Rock and paper scissors
For cycle
If is used in break and while
Break and continue
The scope of break in while nesting
5. String
How strings are stored in memory
Conversion of string type
Input and output strings
Two ways to make up a string
Subscript in a string
Slicing, string reverse order
Common operations of strings
Lists and dictionaries
Introduction and definition of lists, points different from arrays in C language
Addition, deletion, modification and query of the list
Name management system
Dictionary derivation, dictionary definition
Business card management system
Additions, deletions, modifications and queries of dictionaries
While and for loop through the list
For, else, App
Append, extend of the list
List append operation points
Common operation and traversal of dictionaries
7. Tuple
The next stage of the introduction to Python course is to understand the origin of the Python language, the design goals of the Python language, the design philosophy of the Python language, the advantages and disadvantages of the Python language and the basic concepts of object-oriented, the execution of the Python language, and the use of the Python integrated development environment PyCharm to pave the way for the following Python learning.
The answer to the question about the introduction to Python is shared here. I hope the above content can be of some help to everyone. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.