當前位置:成語大全網 - 新華字典 - Python新手入門基礎英文筆記

Python新手入門基礎英文筆記

1、字符串的操作

user:用戶

name:名稱/姓名

attibute:字段/屬性

Value:值

2、重復/轉換/替換/原始字符號

upper:上面

lower:下面

capitalize:用大寫字母寫或印刷

title:標題

replace:替換

old:舊的

new:新的

count:計算

swap:互換

case:情形

path:路徑

project:項目

test:測試

file:文件

data:數據

相關推薦:《Python教程》

3、去除/查詢/計數

Strip:去除

Index:指數

find:查找

count:計數

start:開始

end:結束

chars:字符

Sub:附屬

4、獲取輸入/格式化

input:輸入

prompt:提示

ID:身份證

format:格式化

args(argument):參數

kwargs:關鍵字參數

year:年

month:月

day:日

5、交互式環境與prin輸出

print:打印/輸出

coding:編碼

syntax:語法

error:錯誤

invalid : 無效

identifier:名稱/標識符

character:字符

6、關於集合的壹些基礎單詞

set:集合/設置

add:添加

update:更新

discard:丟棄

intersection:相交

union:聯合

difference:差數

symmetric:對稱

in:在.....裏面

not:不/不是

disjoint:不相交

subset:子集

superset:父集/超集

copy:復制