20

Python 的常用方法和函数-运维不粘锅

 3 years ago
source link: https://blog.51cto.com/xxy12345/2544196
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
list=['A','B','1','2','A']append追加一个值list.append('a')#结果['A','B','1','2','A','a']注意:方法不返回值,比如print(list.append('a')),返回的是None,但动作执行了,即列表中增加了'a',

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK