个人代码:python
其中的content就当作字符串好了spa
content[len(content)/2:len(content)/2+5]
错误:字符串
TypeError: slice indices must be integers or None or have an __index__ methoddi
翻阅众多资料发现python对于除法时候可能转换为了浮点数,要将里面的“/”改成“//”就能够运行了co