create account

[DA series - Learn Python with Steem #05] 基本資料結構 by deanliu

View this thread on: hive.blogpeakd.comecency.com
· @deanliu ·
$25.63
[DA series - Learn Python with Steem #05] 基本資料結構
[[DA series - Learn Python with Steem]](https://steemit.com/da-learnpythonwithsteem/@deanliu/da-series-learn-python-with-steem-00-coding) 是DA(@deanliu & @antonsteemit)關於「從Python程式語言實做Steem區塊鏈的入門」的系列,歡迎趕緊入列學習!

前情提要:[[DA series - Learn Python with Steem #04] 迴圈](https://steemit.com/da-learnpythonwithsteem/@deanliu/da-series-learn-python-with-steem-04)

https://steemitimages.com/0x0/https://cdn.steemitimages.com/DQmbeN1PpqQC2JE5HbpXatb3apUfFhe68fPLctT95FiiRHq/cover.png

第#05堂課,今天我們來學習Python的~~**基本資料結構** !

## Python的基本資料結構(Data Structure)

介紹完了一些基本運算之後,我們還差一點點基本觀念就可以進入比較有「寫程式」感覺的地方了。我們這章節要教的是**資料結構**,也就是一些有效率儲存自己資料的方式。例如上一章的最後面我們介紹到的List(傳統稱為Array,陣列),就是一個可以想像成**清單**的**資料結構**,讓我們把東西一樣一樣的放到裡面。

在我自己的經驗裡面,最基本也最實用的資料結構就是**List**以及**Dictionary**,基本上有了這兩種資料結構之後就可以很有效的解決大部分的問題了。所以我們今天就針對這兩種最基本的資料結構來做介紹。

## List
首先我們來說說List。
List這種資料結構應該就是你想像得到最直觀的「清單」。首先我們可以宣告一個List,之後就可以慢慢的取用裡面所紀錄的變數(或是其他資料結構)。程式碼可以參考[tutorial_5_list.py](https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_5_list.py)

![](https://cdn.steemitimages.com/DQmXK5dWbeELdY9ua7erNE4WKjPQNwH4rnS9daRmMRE9pLX/image.png)

這裡我們用一個List:`my_todo_list`來紀錄了三個字串,分別是今天待辦的三項事物。而 `count_todo` 就是`my_todo_list`的長度:`len(my_todo_list)`,也就是待辦事項數量。
接著透過一個For迴圈**依照順序**列印出裡面的內容。執行結果:

```
I have 3 tasks on my todo list today! They are:
Homework
Write on Steem
Get a haircut
```
List有一些非常好用的method可以使用,其中最好用的就是 `.append()`跟 `.remove()`兩個。`append`就是加上去的意思,會把一個新的元素加到原本List的最後面。例如剛剛的`my_todo_list`,可以如下加入新的元素:

![](https://cdn.steemitimages.com/DQmaRtbbdDFvASf9uyLEWPhHxJ6ft48zKjWsdRpmiBaocZF/image.png)

首先我們先看看現在my_todo_list裡面有什麼東西,接著就把兩樣新的代辦事項加入本張清單。最後我們可以再次印出目前清單裡的任務數量。執行結果如下:
```
['Homework', 'Write on Steem', 'Get a haircut']
I have 5 tasks on my todo list now!
```
原本只有三個東西的list,經過我們的兩次append之後就變成五樣待辦事項了。而相反的,當我們想要移除一樣東西時,我們可以使用`.remove()`:

![](https://cdn.steemitimages.com/DQmRqwNVZzJ179MXUrpuZkABwyM5brUBY71EGBG5YYjZqGE/image.png)

執行結果:
```
['Homework', 'Write on Steem', 'Get a haircut', 'Watch a movie', 'Sleep']
['Get a haircut', 'Watch a movie', 'Sleep']
```

更多可以使用List的操作可以參考這份[官方文件](https://docs.python.org/3/tutorial/datastructures.html)。使用方法大多大同小異,就是在你的list後面加上`.method名稱(參數)`。

另外還有一個十分重要,如何access List裡面物件的方法就是使用它的index,也就是編號。在程式語言裡面,通常第一個元素的index都是0,然後慢慢累加。所以在上面這個長度只剩下三的`my_todo_list`裡面,我們可以分別使用`my_todo_list[0], my_todo_list[1], my_todo_list[2]`來取用這三個字串:

例如 
```
print(my_todo_list[1])
```
就會印出從頭數來第二個元素,也就是`Watch a movie`。


## Dictionary
接著我們來介紹另外一個實用的資料結構,就是Dictionary。在剛剛介紹的List裡面,我們只能依照順序來存取裡面的檔案,或是只有在我們知道我們要的物件在「List的第幾個」時,才可以直接用index選用。
不過,在Dictionary裡面我們可以一次存進一個**Key - Value pair**,也就是一個`key`對應一個`值`,每次查詢的時候只要我們知道`key`就可以找到相對應的值。Dictionary在一個在生活中感覺比較容易想像的資料結構,就好像我們在查字典的時候,輸入`Apple`就會出現蘋果的相關介紹、輸入`Zoo`就會出現動物園的介紹,我們不需要知道Apple是字典裡的第幾個字、也不需要遍歷字典裡面所有的元素來找到他。
我們下面使用一個簡單的**電話簿**例子來操作。(範例程式位於[tutorial_5_dictionary.py](https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_5_dictionary.py))。Dictionary的宣告是使用`{ }`符號,裡面則放滿了 `key : value`這樣的結構。要讀取資料時也跟List類似,是使用`[]`裡面放上你用來搜尋的key:

![](https://cdn.steemitimages.com/DQmXbob9o8uWs5p8E5s9SjjXEK5RPcrkRHmgZhHvu1vzwWU/image.png)

```
0906882331
876543219
Traceback (most recent call last):
  File "tutorial_5_dictionary.py", line 4, in <module>
    print(my_phone_book['Bob'])
KeyError: 'Bob'
```
這裡我們先在裡面存了兩筆紀錄,分別是我的與**Alice**的電話號碼。可以發現後面我們在取用前兩筆資料時都十分順利,直到第三比Bob的資料時,由於他並不在Dictionary裡面,所以程式就顯示了`KeyError`。

至於要怎麼增加新的key-pair到字典裡面呢?可以使用以下幾種方法:
![](https://cdn.steemitimages.com/DQmRmgVNgWRFq131gnL3oAQaejDL9eozKRjLczTRYQ93Lmu/image.png)

一種是直接使用類似**Assign**值的方式,以後my_phone_book裡面的 Bob值就等於後面那串數字。另一種方法算是比較正規,是使用Dictionary裡面的`.update()` method來做更新。使用update的好處是可以一次增加好幾筆,其實也就是字面上「以後面傳入的字典幫忙這個字典更新」的意思,如:
```
my_phone_book.update({'Joey':'4738273643', 'Rachel':'8372381298', 'Monica':'8327192039'})
```
上面的例子就是一次加入了一大堆新的資料到原本的`my_phone_book`裡面。

如果有一天,你想要列出所有的人還有電話,也可以使用一個for迴圈來遍歷整個字典。但是寫法有一點小小的不同,要使用`dictionary.items()`來當作被遞迴的主體,才能同時看到key跟value。

![](https://cdn.steemitimages.com/DQmSL7fFPNBmx22uajzGXcBb627et3eAq3xFmrL395HKM4r/image.png)
執行結果:
```
Joey 	 : 4738273643
myself 	 : 0906882331
Monica 	 : 8327192039
Rachel 	 : 8372381298
Alice 	 : 876543219
Bob 	 : 09080706023
```

其中還有其他有用的method。例如可以列出所有的key的`.keys()`:
```
print(my_phone_book.keys())
```
結果:
```
['Bob', 'Alice', 'Monica', 'Rachel', 'myself', 'Joey']
```
更多的method或細節依然可以參考比較完整的[官方文件](https://docs.python.org/3/tutorial/datastructures.html#dictionaries),我個人是覺得這些就滿夠用的啦!

## Homework time:練習題!
今天我們學了兩大資料結構,就來練習一下他們與迴圈的結合吧:
題目:使用一個python程式,製造出一個dictionary和一個list:dictionary的key是1~10的整數,value分別是他們的平方。而list則是紀錄了1~10的三次方 ([1, 8, 27,...,1000])。最後分別列印出這個list和dictionary。


參考解答: [tutorial_5_exercise.py](https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_5_exercise.py)

我們下篇文章再見囉~下課!

![class-377117_1280.jpg](https://cdn.steemitimages.com/DQmbTcEoAB7HRTxy11a1eDN8vREiGqxEMd7P3jJ3TGvGSTv/class-377117_1280.jpg)
<sub>*image - pixabay*</sub>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 111 others
properties (23)
authordeanliu
permlinkda-series-learn-python-with-steem-05
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem","python","steem","cn-programming","cn"],"users":["deanliu","antonsteemit"],"image":["https://steemitimages.com/0x0/https://cdn.steemitimages.com/DQmbeN1PpqQC2JE5HbpXatb3apUfFhe68fPLctT95FiiRHq/cover.png","https://cdn.steemitimages.com/DQmXK5dWbeELdY9ua7erNE4WKjPQNwH4rnS9daRmMRE9pLX/image.png","https://cdn.steemitimages.com/DQmaRtbbdDFvASf9uyLEWPhHxJ6ft48zKjWsdRpmiBaocZF/image.png","https://cdn.steemitimages.com/DQmRqwNVZzJ179MXUrpuZkABwyM5brUBY71EGBG5YYjZqGE/image.png","https://cdn.steemitimages.com/DQmXbob9o8uWs5p8E5s9SjjXEK5RPcrkRHmgZhHvu1vzwWU/image.png","https://cdn.steemitimages.com/DQmRmgVNgWRFq131gnL3oAQaejDL9eozKRjLczTRYQ93Lmu/image.png","https://cdn.steemitimages.com/DQmSL7fFPNBmx22uajzGXcBb627et3eAq3xFmrL395HKM4r/image.png","https://cdn.steemitimages.com/DQmbTcEoAB7HRTxy11a1eDN8vREiGqxEMd7P3jJ3TGvGSTv/class-377117_1280.jpg"],"links":["https://steemit.com/da-learnpythonwithsteem/@deanliu/da-series-learn-python-with-steem-00-coding","https://steemit.com/da-learnpythonwithsteem/@deanliu/da-series-learn-python-with-steem-04","https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_5_list.py","https://docs.python.org/3/tutorial/datastructures.html","https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_5_dictionary.py","https://docs.python.org/3/tutorial/datastructures.html#dictionaries","https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_5_exercise.py"],"app":"steemit/0.1","format":"markdown"}
created2018-08-02 01:27:18
last_update2018-08-02 01:27:18
depth0
children16
last_payout2018-08-09 01:27:18
cashout_time1969-12-31 23:59:59
total_payout_value22.149 HBD
curator_payout_value3.484 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,901
author_reputation3,090,651,334,998,114
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,821,415
net_rshares15,204,960,786,250
author_curate_reward""
vote details (175)
@aaronli ·
$0.13
我找到一個叫codecombat的學python網站,很好玩
👍  
properties (23)
authoraaronli
permlinkre-deanliu-da-series-learn-python-with-steem-05-20180802t051909694z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"}
created2018-08-02 05:19:09
last_update2018-08-02 05:19:09
depth1
children3
last_payout2018-08-09 05:19:09
cashout_time1969-12-31 23:59:59
total_payout_value0.096 HBD
curator_payout_value0.031 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length30
author_reputation350,939,913,840,685
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,838,895
net_rshares76,452,228,300
author_curate_reward""
vote details (1)
@itchyfeetdonica ·
对呢 这个网站通过游戏学挺有意思 周围很多朋友用来教小孩子学
properties (22)
authoritchyfeetdonica
permlinkre-aaronli-re-deanliu-da-series-learn-python-with-steem-05-20180802t090455138z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"}
created2018-08-02 09:04:57
last_update2018-08-02 09:04:57
depth2
children2
last_payout2018-08-09 09:04:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length30
author_reputation615,581,595,864,553
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,856,045
net_rshares0
@aaronli ·
我是小孩子
properties (22)
authoraaronli
permlinkre-itchyfeetdonica-re-aaronli-re-deanliu-da-series-learn-python-with-steem-05-20180802t121042831z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"}
created2018-08-02 12:10:42
last_update2018-08-02 12:10:42
depth3
children1
last_payout2018-08-09 12:10:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length5
author_reputation350,939,913,840,685
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,870,775
net_rshares0
@ace108 ·
$0.11
personally, for the print... I prefer
<code>
print(f'I have {count_todo} tasks on my todo list now!')
</code>
👍  
properties (23)
authorace108
permlinkre-deanliu-da-series-learn-python-with-steem-05-20180802t051332869z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"}
created2018-08-02 05:13:33
last_update2018-08-02 05:13:33
depth1
children0
last_payout2018-08-09 05:13:33
cashout_time1969-12-31 23:59:59
total_payout_value0.080 HBD
curator_payout_value0.026 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length109
author_reputation1,225,393,856,970,278
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,838,502
net_rshares63,710,190,250
author_curate_reward""
vote details (1)
@kona ·
$0.08
![hw5.png](https://cdn.steemitimages.com/DQmXudTPf3vC8mtofdVbEdtP4pUAWXMgwT7rB7WmCAA8iHC/hw5.png)

Dictionary 不懂使用.format(key,value),所以多了{ },怎麼辦?
👍  ,
properties (23)
authorkona
permlinkre-deanliu-da-series-learn-python-with-steem-05-20180802t034140836z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"image":["https://cdn.steemitimages.com/DQmXudTPf3vC8mtofdVbEdtP4pUAWXMgwT7rB7WmCAA8iHC/hw5.png"],"app":"steemit/0.1"}
created2018-08-02 03:41:42
last_update2018-08-02 03:41:42
depth1
children5
last_payout2018-08-09 03:41:42
cashout_time1969-12-31 23:59:59
total_payout_value0.066 HBD
curator_payout_value0.010 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length145
author_reputation39,758,138,507,499
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,831,307
net_rshares45,480,515,568
author_curate_reward""
vote details (2)
@antonsteemit ·
若是印出整個dictionary 就會有含 `{}`
你的`hw_list`本身就是一個字典,所以直接印出來就會出現 {}包在字典外圍。

`.format`的用法是將字串中的某一個東西取代為函數中的東西
例如`' 今天是 {} 月 {} 日'.format(5,19)`
就會分別把5, 19填入兩個框框之中: `今天是5月5日`
以你的例子可以寫成:
`print(' {} : {} :{} '.format(m, hw_list[m], a))`

properties (22)
authorantonsteemit
permlinkre-kona-re-deanliu-da-series-learn-python-with-steem-05-20180805t124753150z
categoryda-learnpythonwithsteem
json_metadata{"community":"busy","app":"busy/2.5.4","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":[]}
created2018-08-05 12:47:54
last_update2018-08-05 12:47:54
depth2
children1
last_payout2018-08-12 12:47:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length229
author_reputation7,534,465,964,895
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id67,187,276
net_rshares0
@kona ·
明白,謝謝解答,讓我再試試🙏🙏🙏
properties (22)
authorkona
permlinkre-antonsteemit-re-kona-re-deanliu-da-series-learn-python-with-steem-05-20180805t130246417z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"}
created2018-08-05 13:02:48
last_update2018-08-05 13:02:48
depth3
children0
last_payout2018-08-12 13:02:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length16
author_reputation39,758,138,507,499
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id67,188,488
net_rshares0
@deanliu ·
@antonsteemit ... 

Posted using [Partiko Android](https://play.google.com/store/apps/details?id=io.partiko.android)
properties (22)
authordeanliu
permlinkdeanliu-re-kona-re-deanliu-da-series-learn-python-with-steem-05-20180802t035929365z
categoryda-learnpythonwithsteem
json_metadata{"app":"partiko"}
created2018-08-02 03:59:30
last_update2018-08-02 03:59:30
depth2
children2
last_payout2018-08-09 03:59:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length116
author_reputation3,090,651,334,998,114
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,832,836
net_rshares0
@nostalgic1212 ·
你這個呼叫外援的操作真的666666🤦‍♀️
properties (22)
authornostalgic1212
permlinkre-deanliu-deanliu-re-kona-re-deanliu-da-series-learn-python-with-steem-05-20180802t042253954z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"}
created2018-08-02 04:22:54
last_update2018-08-02 04:22:54
depth3
children1
last_payout2018-08-09 04:22:54
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length22
author_reputation1,484,457,563,353,076
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,834,671
net_rshares0
@nostalgic1212 ·
$0.02
我這週專門安排了一個下午準備抱著電腦去研究1-5,還請了外援😂~~總覺得以我的IQ可能會問題比學到的東西多~~
👍  
properties (23)
authornostalgic1212
permlinkre-deanliu-da-series-learn-python-with-steem-05-20180802t033448222z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"}
created2018-08-02 03:34:48
last_update2018-08-02 03:34:48
depth1
children1
last_payout2018-08-09 03:34:48
cashout_time1969-12-31 23:59:59
total_payout_value0.018 HBD
curator_payout_value0.002 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length55
author_reputation1,484,457,563,353,076
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,830,777
net_rshares12,739,157,845
author_curate_reward""
vote details (1)
@deanliu ·
得此英才,夫復何求?

Posted using [Partiko Android](https://play.google.com/store/apps/details?id=io.partiko.android)
properties (22)
authordeanliu
permlinkdeanliu-re-nostalgic1212-re-deanliu-da-series-learn-python-with-steem-05-20180802t035744688z
categoryda-learnpythonwithsteem
json_metadata{"app":"partiko"}
created2018-08-02 03:57:45
last_update2018-08-02 03:57:45
depth2
children0
last_payout2018-08-09 03:57:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length108
author_reputation3,090,651,334,998,114
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,832,675
net_rshares0
@shine.wong ·
$0.13
![image.png](https://files.steempeak.com/file/steempeak/shine.wong/3GzmoyQS-image.png)
看完评论我觉得我的有点啰嗦,哈哈哈!@yjcps你可以当助教了~
👍  
properties (23)
authorshine.wong
permlinkre-deanliu-da-series-learn-python-with-steem-05-20180802t065954158z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"community":"steempeak","app":"steempeak"}
created2018-08-02 06:59:54
last_update2018-08-02 06:59:54
depth1
children0
last_payout2018-08-09 06:59:54
cashout_time1969-12-31 23:59:59
total_payout_value0.096 HBD
curator_payout_value0.031 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length119
author_reputation1,329,335,530,903
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,846,540
net_rshares76,452,228,300
author_curate_reward""
vote details (1)
@yjcps ·
$0.34
哈哈,来交[作业](https://busy.org/@yjcps/learnpythonwithsteem05-n09ajzsh91)
![图片.png](https://ipfs.busy.org/ipfs/QmZfDC644VJorrPDaHzW9gkdKD8z5639v5i1u4E3nXop8s)

👍  ,
properties (23)
authoryjcps
permlinkre-deanliu-da-series-learn-python-with-steem-05-20180802t052027311z
categoryda-learnpythonwithsteem
json_metadata{"community":"busy","app":"busy/2.5.4","format":"markdown","tags":["da-learnpythonwithsteem"],"users":["yjcps"],"links":["https://busy.org/@yjcps/learnpythonwithsteem05-n09ajzsh91"],"image":["https://ipfs.busy.org/ipfs/QmZfDC644VJorrPDaHzW9gkdKD8z5639v5i1u4E3nXop8s"]}
created2018-08-02 05:20:27
last_update2018-08-02 05:20:27
depth1
children1
last_payout2018-08-09 05:20:27
cashout_time1969-12-31 23:59:59
total_payout_value0.258 HBD
curator_payout_value0.084 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length155
author_reputation1,019,613,572,923
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,839,005
net_rshares204,020,234,515
author_curate_reward""
vote details (2)
@shine.wong ·
虽然不看你的课外总结我勉强能看懂,一部分靠猜的,但是我还是去补习下吧~
properties (22)
authorshine.wong
permlinkre-yjcps-re-deanliu-da-series-learn-python-with-steem-05-20180802t070125753z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"community":"steempeak","app":"steempeak"}
created2018-08-02 07:01:27
last_update2018-08-02 07:01:27
depth2
children0
last_payout2018-08-09 07:01:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length35
author_reputation1,329,335,530,903
root_title"[DA series - Learn Python with Steem #05] 基本資料結構"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,846,670
net_rshares0