Guibs's Python Learning _ variable # variables are named and used # variable names can only contain letters, numbers, and underscores. [cannot begin with a number] [001_send message X] [send_message_001]️# variable name cannot contain spaces, you can use underscores to split words [send message x][send_message]️# cannot use Python keyword and function name as variable name # variable name should be short and descriptive such as name: [N x] [Name]️# Note the use of L and O, some fonts will be associated with 1 and &
1. Guibs Python Learning _ variables
Summary: variable naming and use # variable names can only contain letters, numbers, and underscores. [cannot begin with a number] [001_send message X] [send_message_001]️# variable names cannot contain spaces, you can use underscores to split words [send message x][send_message]️# cannot use Python keywords and function names as variable names
2. Guibs Python Learning _ string
Introduction: # string # in Python, the string is enclosed in quotation marks. Quotation marks can be single or double quotes "This is a string"
3. Guibs's Python Learning _ number
Introduction: # number # integer # in Python, you can add (+) subtract (-) multiply (*) in addition to (/) modulo (%) [balance] (*)
4. Guibs's Python Learning _python Zen
Description: The Zen of Python, by Tim Peters,guibs's Python learning _python Zen
5. Guibs Python Learning _ list
Brief introduction:
6. Guibs Python Learning _ tuples
Summary: # tuple # tuples are equivalent to immutable lists, using parentheses ()
7. Guibs's Python learning _if
Description: # If # If you control the block of code by indenting if # conditional_test: # do something
8. Guibs's Python Learning _ Dictionary
Summary: Dictionary # Python Dictionary is a series of key-value pairs. # between the key and the value between: delimited, key-value pair used, delimited
9. Guibs's Python learning _while&input
Introduction: Guibs Python learning _while&input Strength Code, there is a need to refer to the following
Guibs Python Learning _ function
Introduction: This chapter describes the Guibs Python learning _ Function Example code, there is a need to refer to the following