GIS Eden
Discover the beauty of GIS
Δ
今日收获:看完S2E4录播,对列表、字典有了进一步理解,做笔记如下图(如有错误请老师指正),使用markdown记笔记也比较熟练了,同学们一起加油!
棒
SyntaxError: invalid syntax >>> for k in dict.keys(): … print(k) File “<stdin>”, line 2 print(k) ^ IndentationError: expected an indented block
老师,使用str返回字符串的值,怎么数字也回返回? >>> str(dict) “{0: ‘l’, 1: 1, 2: 2, ‘k’: 6}” >>> str(array_list) “[0, 1, 4, 5, 6, ‘a’]”
今日收获:看完S2E4录播,对列表、字典有了进一步理解,做笔记如下图(如有错误请老师指正),使用markdown记笔记也比较熟练了,同学们一起加油!
棒
SyntaxError: invalid syntax
>>> for k in dict.keys():
… print(k)
File “<stdin>”, line 2
print(k)
^
IndentationError: expected an indented block
老师,使用str返回字符串的值,怎么数字也回返回?
>>> str(dict)
“{0: ‘l’, 1: 1, 2: 2, ‘k’: 6}”
>>> str(array_list)
“[0, 1, 4, 5, 6, ‘a’]”