星海's Blog

老头初学编程

关于L[3:1]=['x']=L.insert(3,'x')的解答

Python scales the slice limits to make sure that the lower bound is always less than
or equal to the upper bound (e.g., L[3:1] is scaled to L[3:3], the empty insertion
point at offset 3). Python slices are always extracted from left to right, even if you
use negative indexes (they are first converted to positive indexes by adding the
sequence length)

 

继续阅读

Python相关的网站

1,简明Python教程

一本极好的入门教程

2,Python过关游戏

有很大难度哦,哈哈哈

3,各种编程语言快速索引表

4,

Python编程想要解决的问题

掷硬币概率问题,如100次里6次都是正面的概率,为什么用random()随机数不好

 

股票取值,计算收益

python游戏网站解谜

 

learning python 3rd中文版199页,转化与pickle用法意义不明

阅读全文