![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
谷子学长
试试才知道,倾尽全力才好!!!
展开
-
python
将一行语句多行显示可以采用反斜杠 total = item_one + \ item_two + \ item_three IndentationError: unindent does not match any outer indentation leve 如果报 IndentationError: unindent does not match any outer indentation level错误表明使用的缩进方式不一致,有的是 tab 键缩进,有的是空格缩进,改为一致即可。建议在每个缩进层次使原创 2020-12-08 17:12:11 · 72 阅读 · 0 评论 -
python复习
列表加元组才能组成字典: dict([('a', 1), ('b', 2), ('c', 3)]) >>> {'a':1, 'b':2, 'c':3}原创 2020-12-08 17:11:56 · 90 阅读 · 0 评论