word | pronunciation | translation | effect |
---|---|---|---|
Purun special | Show what we want to see | ||
input | Yinpu Te | Entry | Get some user input |
int | India Special | Integer | The digital processing into a quoted without quotes |
str | str | String | The content of the processed data quoted |
bool | Buao | Boolean value | Procedure for determining |
list | Lister | List | Store different types of data |
tuple | It ran | Tuple | Different types of data storage, but can not be modified |
dict | Dixit | dictionary | Storing key data, can store large amounts of data, fast speed value |
set | Dorset | set | Not worth the dictionary, natural de-duplication |
if | Eh clothes | in case | Program keywords let the program be judged |
elif | Oh eh love clothes | Then if | Program keywords let the program be judged |
else | Ai Aosi | otherwise | When the program is not executed if the keywords when the program is executed else |
while | Wow Austria | cycle | Repeat do something |
upper | Lady children | ALL CAPS | The contents of the string in all uppercase become |
lower | Building volume | All lowercase | The contents of the string in all lowercase |
startswith | Four times a day position | What begins with | Judgment is the result of what is beginning to return a Boolean value |
endswith | Bit day grace | To what end | Judgment is based on what the end result is a Boolean value returned |
replace | Swiss shop similar | replace | Use some new content to replace some of the old values |
strip | Dead punctured | White spaces on both sides of the head and tail | Removing both sides of the head and tail spaces and line breaks and tabs |
split | Little tear woman | Separated | By a character to a whole into multiple |
count | Kang special | statistics | How many times appeared content from a number of something |
index | Because shelled four | Gets the index value by the elements | Returns the index element will be error does not exist |
find | Rice was | Gets the index value by the elements | Returns the index value of the element, there is no return -1 |
isdecimal | A date of the ink C | Judgment is not a decimal number | Analyzing the content of the user input is not the result of a decimal number is returned Boolean |
isalnum | A day Iona wood | Digital judgment is not English Chinese | Analyzing the content of the user input is not a number, the sequence of letters, characters returns a Boolean value |
isalpah | A day Alpha | Judgment is not in English and Chinese characters |
There are only 10 kinds of people, one understand binary a binary understand
word | pronunciation | translation | effect |
---|---|---|---|
Purun special | Show what we want to see | ||
input | Yinpu Te | Entry | Get some user input |
int | India Special | Integer | The digital processing into a quoted without quotes |
str | str | String | The content of the processed data quoted |
bool | Buao | Boolean value | Procedure for determining |
list | Lister | List | Store different types of data |
tuple | It ran | Tuple | Different types of data storage, but can not be modified |
dict | Dixit | dictionary | Storing key data, can store large amounts of data, fast speed value |
set | Dorset | set | Not worth the dictionary, natural de-duplication |
if | Eh clothes | in case | Program keywords let the program be judged |
elif | Oh eh love clothes | Then if | Program keywords let the program be judged |
else | Ai Aosi | otherwise | When the program is not executed if the keywords when the program is executed else |
while | Wow Austria | cycle | Repeat do something |
upper | Lady children | ALL CAPS | The contents of the string in all uppercase become |
lower | Building volume | All lowercase | The contents of the string in all lowercase |
startswith | Four times a day position | What begins with | Judgment is the result of what is beginning to return a Boolean value |
endswith | Bit day grace | To what end | Judgment is based on what the end result is a Boolean value returned |
replace | Swiss shop similar | replace | Use some new content to replace some of the old values |
strip | Dead punctured | White spaces on both sides of the head and tail | Removing both sides of the head and tail spaces and line breaks and tabs |
split | Little tear woman | Separated | By a character to a whole into multiple |
count | Kang special | statistics | How many times appeared content from a number of something |
index | Because shelled four | Gets the index value by the elements | Returns the index element will be error does not exist |
find | Rice was | Gets the index value by the elements | Returns the index value of the element, there is no return -1 |
isdecimal | A date of the ink C | Judgment is not a decimal number | Analyzing the content of the user input is not the result of a decimal number is returned Boolean |
isalnum | A day Iona wood | Digital judgment is not English Chinese | Analyzing the content of the user input is not a number, the sequence of letters, characters returns a Boolean value |
isalpah | A day Alpha | Judgment is not in English and Chinese characters |