摘要:
items将一个字典以列表的形式返回,因为字典是无序的,所以返回的列表也是无序的。 例如:a = {"a":1,"b":2} a.items 就是 a = [(a,1),(b,2)] index索引 a = [a,b,b,v,c] a.index(b) 输出为1 。 isdigit() 判断字符串是 阅读全文
posted @ 2018-02-09 20:25
Roc_Atlantis
阅读(139)
评论(0)
推荐(0)
浙公网安备 33010602011771号