上次了解了 方法 和 函数的 不同之处
方法(method)函数(function)需要对象调用无需对象调用可以根据 名字调用无需名字 直接调用基于类的对象独立的需要self不需要selfappend这个词 怎么来的呢?🤔
-pendpend 来自于 *(s)pen-
意思是悬挂 拖拽
上面这些单词你认识谁呢?
spanspan
手指 拉伸 的 宽度
一拃
宽度
spanner
span 拧紧
-er 工具 或 人
紧螺丝 用的
扳手
紧张spannen
span 拉伸宽度
en 动词
绷紧 紧张
上弦
pendingpending
/ˈpɛndɪŋ/
pend 悬挂
ing 正在
正悬而未决的
暂停的
待办的
impendimpend
/ɪmˈpɛnd/
in 在里面
pend 悬挂
在悬挂里面的
悬而未决的
impendingimpending
/ɪmˈpɛndɪŋ/
impend 悬而未决的
-ing 正在
正悬而未决的
即将来临
pendantpendant
/ˈpɛnd(ə)nt/
pend 悬挂
ant 人或者东西
挂坠
pendulous悬垂摆动的
/ˈpendjələs/
麦穗
肚子
pendulumpendulum
/ˈpendjələm/
摆动的
钟摆
单摆
垂线perpendicular
[ˌpɜːpənˈdɪkjələ(r)]
per 完全;贯穿,通过;每
pendic 悬挂
ular 相关的东西
垂下来的
垂直的
dependdepend
de- 下面的
pend 悬挂
(下面)悬挂的
依赖(上面)的
depend on
依赖于
dependentdependent
depend 依赖(上面)的
ent 的 人或事
依赖上面的人
需要照料的
independentindependent
in 否定
dependent 需要照料的
不需要 照料的
独立的
pense从pend 到 pense
从 悬挂 到 称重
从 称重 到 衡量
衡量
dispensedispense
dis 分发
pense 称重
配药
poundpound
称重单位
称重 金属
pound
成为 货币 单位
peso西班牙、菲律宾、墨西哥、阿根廷口音
称 pound 为 peso
比索
ponder
支出多少
得衡量、思考 的 人
思考者
pension支付方式
pension
养老金
expendexpend
ex 向外
pend 支付
expend
往外支付
与 expand 不同
pand 来自于 pan
平底锅 摊煎饼 扩大
expense公司支出
薪水之类的
expenditure
购买实体资产的费用
贵的expensive
昂贵的
compensate
/ˈkɒmp(ə)nseɪt/
com 一起
pensate 衡量
一起来衡量
compensate
补偿
compensationcompensation
compensate 补偿
ation 的东西
补偿的东西
拆迁补偿
suspendsuspend
sus 同sub 从下面来的
pend 挂着的
从下面来的 挂着的
/səˈspɛnd/
挂起
suspended
被挂起的
suspensesuspense
悬而未决的
焦虑
suspend
挂起
吊,悬挂
推迟,暂停
挂起来和推迟有啥关系?
suspend古代萨克逊人使用的刀叫做撒克逊刀
刃朝上
抽出来 就是要战斗
挂起来
suspend 维持了
就是不战斗了
推迟战斗了
暂停了
appendappend
ap 强调
pend 悬挂
强调悬挂
继续往下挂
追加
列表追加在列表结尾处
继续追加
appendix
挂在最后的附录
挂在大肠后面的阑尾
append 词源append 来自于
pend 悬挂
append
在尾部
附加 一个元素
总结这次了解了
append
追加
还有什么 方法呢?🤔
我们下次再说!👋
蓝桥->https://www.lanqiao.cn/courses/3584
github->https://github.com/overmind1980/oeasy-python-tutorial
gitee->https://gitee.com/overmind1980/oeasypython