create account

[DA series - Learn Python with Steem #04] 迴圈 by deanliu

View this thread on: hive.blogpeakd.comecency.com
· @deanliu · (edited)
$30.64
[DA series - Learn Python with Steem #04] 迴圈
[[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 #03] 邏輯判斷](https://steemit.com/da-learnpythonwithsteem/@deanliu/da-series-learn-python-with-steem-03)

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

第#04堂課,今天我們來學習另一個也是非常重要的主題:**迴圈** 。

## Python的迴圈 (Loop)
前一期說完了if-else判斷式,這一期來看看另一個重要的元素:迴圈。
迴圈簡單的說,就是讓電腦「重複執行某一動作」的語法。原因很簡單,我們使用電腦程式就是為了解決繁瑣的工作內容,而這種重複性很高的動作,我們可以透過迴圈的設定讓我們一個程式就執行完所有內容。舉個簡單的例子,若是我們未來要觀察區塊鏈上的內容,可以透過迴圈的方式不斷搜尋不同的block,不斷的回去翻找歷史直到第一個區塊為止。

迴圈又可以分為**While迴圈**跟**For迴圈**,其中只是是語法跟使用情境稍有不同,大部分的概念是一樣的。我們先來介紹While迴圈。

### While Loop
`While`迴圈的使用情境是「面對我們不知道何時會中止的程式時」。可以用以下一個簡單的例子讓大家稍微看一下這個邏輯:

註:本篇教學的程式碼可以到[GitHub](https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_4.py)觀看。

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

執行結果:
```
Stop!
2097152
```

While的執行邏輯是:每次執行while的範圍內的程式前,會先確認`while`後面的expression是否為True。如果是True的話就會執行內容,反之則跳過迴圈。這裡我們先使用一個布林變數`continue_to_loop = True`來當作「要不要繼續迴圈的指標」,稍後我們只要改變這個變數,迴圈就會中止。

跟`if-else`相同的是,被包含在`while`迴圈裡面要做的事情,我們一樣要使用縮排一層一層的包好,免得讓系統誤會。這裡我們一開始令 n = 1,在每次迴圈裡都把他乘以二,並且判斷這個新的n有沒有大於1312300。如果有的話,我們就把**`continue_to_loop`這個變數設為False**,藉此中止程式。

所以等程式不知道經過多少次迴圈後,2的某個次方數變成2097152,也就大於一開始設定的`m`了,迴圈因此中止,並且最後印出`n`:這時已經是 2097152。

這種先設計一個**布林變數**來看要不要停止迴圈的手法,通常這個變數會被稱為`flag`,因為它的True or False決定了迴圈的命運。這種手法在很多情況下很好用,也會讓程式的運作邏輯很淺顯易懂。不過其實我們這一個例題是不需要用到Flag的,如果只是單純的數字比較的話,我們可以做一些簡化:

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

這樣是不是簡單很多呢?我們將我們希望每個迴圈繼續執行的條件:`n < m `放在while的後面,而while迴圈的設計正好就是「不斷執行直到不滿足 `n < m`」,也就是在`n >= m`時就會自動停止了。

## For Loop
另一個迴圈是`for`迴圈,原本在程式語言中通常是用來執行「可以預期什麼時候結束的迴圈」。跟while loop不同的地方在於,我們一開始就會告訴程式我們要loop的範圍或是次數。舉一個最最簡單的例子,就是印出1~15的數字:

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

執行結果:
```
0
1
2
...
14
```
在 for 的語法 公式就是 `for x in o:`,代表著:「走過`o`裡面所有的`x`」。上面的這段程式有一個新的部份叫做`range()`,專門用來產生這種一串的東西讓for迴圈走過。所以`range(15)`就會產生0,1,2,3,4,....,14 (從0開始直到大於等於15停止)(在預設情況下,只輸入一個數字n就是從零開始走到n,不含n)。如果我們想要指定從1開始走走到15,就可以寫成range(1,16)。

不過python好用的地方在於,我們往往不需要知道一個「O」裡面有多少個「x」,就可以直接很懶的使用`for`迴圈了。python的for迴圈很聰明,會自動幫我們想像「我們應該是要重複拿出裡面的某些東西」。

例如下列程式中,我們先把東西存在一個**陣列(array)**(後面我們會教更多關於陣列等等**資料結構**)裡面,然後就可以透過for迴圈「一個一個讀出來」。

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

執行結果:
```
apple is in your shopping list
orange is in your shopping list
lemon is in your shopping list
Xiaomi 6 Plus is in your shopping list
iPhoneX is in your shopping list
```

這段程式當中,我們先把`shopping_list`定義好,把一堆的**字串**存在這個陣列裡。接著我們利用`for item in shopping_list`的語法,來走遍每一個item。

`python`聰明的地方是,我們可以直接叫for loop跑完整個清單,每次回傳一個東西,**並且這個回傳的東西叫做item**。我們前面完全沒有告訴過python說過item是什麼,這一句 `for item in shopping_list`就好像:「遍歷`shopping_list`裡面的東西,每次拿出一個,稱為item」。所以在這個迴圈中,第一次 item = `apple`,第二次 item = `orange` ,以此類推。

不過這裡的`print()`裡面我們多了一個函式,稱為`format()`,是今天要教大家第二個好用的小技巧。format()是**字串的一個class method (類別函式)**,也就是只有字串能夠用。我們可以用這樣的語法**在字串中加入我們要的變數**:

```
 'The value of variable a is {}'.format(a)
```

意思就是把a的值,以字串的形式放入前面那一串子裡面的`{}`中。

所以上一段例子裡,每次我們會印出 ' {} is in your shopping list  ',其中{}就會變成每次的item,也就是物品名子。這樣是不是在設計output的時候有比較方便阿!

## Homework time:練習題!
好了,今天簡單的for, while介紹就到此為止了,也來給大家出一個練習題,同時也是程式設計裡面的經典:**九九乘法表**。**問題:請用迴圈在螢幕上列出99乘法表**。提示:要使用雙重迴圈,也就是Loop in a Loop。

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

不過要完成這個作業,大家可能還需要一點新技能,就是關於`print()`函數的多一點認識。print()在沒有任何設定的情況下,會印出你輸入的內容**並且換行**。在印九九乘法表的時候,我們並不是每次印出數字就要換行,因此會需要使用print 函數裡面的`end`設定來變更這個預設的**字莫換行 
print(number, end = ' '),會在螢幕上印出number的值,並且不換行,而是在後面加上`'  '`。
如果想要印出**縮排**,也就是一個整齊的空格的話,可以設定`end = '\t'`,如下:
```
print(number, end = '\t')
```
(在程式語法裡,通常使用`\t`來表示縮排(tab),而用`\n`表示換行)

接著就祝大家好運了,我們下回見~

寫完的朋友們,也歡迎來[GitHub@antoncoding](https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_4_exercise.py)對對答案呀!不過這不是唯一的解法喔~


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

![class-377117_1280.jpg](https://cdn.steemitimages.com/DQmbTcEoAB7HRTxy11a1eDN8vREiGqxEMd7P3jJ3TGvGSTv/class-377117_1280.jpg)
<sub>*image - pixabay*</sub>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 87 others
properties (23)
authordeanliu
permlinkda-series-learn-python-with-steem-04
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/DQmSgwvcDv7gcBkE8v3cwgv1xbf6iX2Ux6uzApt1Zgc6HVi/image.png","https://cdn.steemitimages.com/DQmYdWaiDnkv9DqoCHmFh423WwuqkuzywBzXmmLzKdMPgwQ/image.png","https://cdn.steemitimages.com/DQmcaLW9kBcbri1eVC2HDkswvzrFWHZtG8pFh85cUGXJE99/image.png","https://cdn.steemitimages.com/DQmd7A8beBs7pLFZByfs21JRrwtDyV3BKj8R55dDBfz8f9w/image.png","https://cdn.steemitimages.com/DQmaLo9WaZyuAHaWnDNGowdhYJhGrie8M9KuHMSYFmHijya/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-03","https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_4.py","https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_4_exercise.py"],"app":"steemit/0.1","format":"markdown"}
created2018-07-31 02:21:06
last_update2018-08-01 14:29:33
depth0
children17
last_payout2018-08-07 02:21:06
cashout_time1969-12-31 23:59:59
total_payout_value26.237 HBD
curator_payout_value4.407 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,330
author_reputation3,091,923,678,819,098
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,583,113
net_rshares17,955,569,472,890
author_curate_reward""
vote details (151)
@ace108 ·
This is how I'll do:
<code>
for i in range (1,10):
    line=''
    for j in range (1,10):
        line=line+str(i*j)+'\t'
    print(line)
</code>
Results:
<pre>
1	2	3	4	5	6	7	8	9	
2	4	6	8	10	12	14	16	18	
3	6	9	12	15	18	21	24	27	
4	8	12	16	20	24	28	32	36	
5	10	15	20	25	30	35	40	45	
6	12	18	24	30	36	42	48	54	
7	14	21	28	35	42	49	56	63	
8	16	24	32	40	48	56	64	72	
9	18	27	36	45	54	63	72	81	
</pre>
properties (22)
authorace108
permlinkre-deanliu-da-series-learn-python-with-steem-04-20180802t151821143z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"}
created2018-08-02 15:18:21
last_update2018-08-02 15:18:21
depth1
children0
last_payout2018-08-09 15:18:21
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_length396
author_reputation1,226,053,539,120,611
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,888,795
net_rshares0
@dailychina ·
$0.21
恭喜你!您的这篇文章入选 @justyy 今日 (2018-08-01) 榜单 [【优秀被错过的文章】](https://steemit.com/cn/@justyy/--daily-cn-updates-cncnpower-downyy2018-08-01), 回复本条评论24小时内领赏,点赞本评论将支持 @dailychina 并增加将来您的奖赏。

Congratulations! This post has been selected by @justyy as today's (2018-08-01)  [【Good Posts You May Miss】](https://steemit.com/cn/@justyy/--daily-cn-updates-cncnpower-downyy2018-08-01), Steem On!  Reply to this message in 24 hours to get rewards. Upvote this comment to support the @dailychina and increase your future rewards! ^_^
👍  , , , , , , , , ,
properties (23)
authordailychina
permlinkre-da-series-learn-python-with-steem-04-20180801t080406
categoryda-learnpythonwithsteem
json_metadata""
created2018-08-01 08:04:06
last_update2018-08-01 08:04:06
depth1
children2
last_payout2018-08-08 08:04:06
cashout_time1969-12-31 23:59:59
total_payout_value0.165 HBD
curator_payout_value0.047 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length512
author_reputation50,124,640,567,504
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,732,316
net_rshares125,944,833,670
author_curate_reward""
vote details (10)
@deanliu ·
$0.11
呵呵,被錯過?不敢這麼說....
👍  , , , , , , , ,
properties (23)
authordeanliu
permlinkre-dailychina-re-da-series-learn-python-with-steem-04-20180801t080406-20180801t084921772z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"}
created2018-08-01 08:49:21
last_update2018-08-01 08:49:21
depth2
children1
last_payout2018-08-08 08:49:21
cashout_time1969-12-31 23:59:59
total_payout_value0.086 HBD
curator_payout_value0.022 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length16
author_reputation3,091,923,678,819,098
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,736,078
net_rshares65,436,976,108
author_curate_reward""
vote details (9)
@justyy ·
$0.03
感谢刘前辈,明天开始去掉 “被错过”
👍  , , , , , , ,
properties (23)
authorjustyy
permlinkre-deanliu-re-dailychina-re-da-series-learn-python-with-steem-04-20180801t080406-20180802t095226346z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"}
created2018-08-02 09:52:24
last_update2018-08-02 09:52:24
depth3
children0
last_payout2018-08-09 09:52:24
cashout_time1969-12-31 23:59:59
total_payout_value0.030 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length18
author_reputation280,616,224,641,976
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,859,917
net_rshares18,428,601,624
author_curate_reward""
vote details (8)
@kimxinfo ·
$0.14
![04-loop.png](https://ipfs.busy.org/ipfs/QmeyycG8dMpzVQMQWWZensPKvtGDWEJEyJLFcjUp85xvAm)
👍  ,
properties (23)
authorkimxinfo
permlinkre-deanliu-da-series-learn-python-with-steem-04-20180731t081613518z
categoryda-learnpythonwithsteem
json_metadata{"community":"busy","app":"busy/2.5.4","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":["https://ipfs.busy.org/ipfs/QmeyycG8dMpzVQMQWWZensPKvtGDWEJEyJLFcjUp85xvAm"]}
created2018-07-31 08:16:12
last_update2018-07-31 08:16:12
depth1
children3
last_payout2018-08-07 08:16:12
cashout_time1969-12-31 23:59:59
total_payout_value0.107 HBD
curator_payout_value0.033 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length90
author_reputation1,748,728,029,640
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,611,485
net_rshares83,625,360,818
author_curate_reward""
vote details (2)
@deanliu ·
這位大學生怎麼一直來交小學的課堂作業啊~~^_^
👍  
properties (23)
authordeanliu
permlinkre-kimxinfo-re-deanliu-da-series-learn-python-with-steem-04-20180731t140922169z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"}
created2018-07-31 14:09:21
last_update2018-07-31 14:09:21
depth2
children2
last_payout2018-08-07 14:09:21
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_length24
author_reputation3,091,923,678,819,098
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,642,373
net_rshares9,231,051,545
author_curate_reward""
vote details (1)
@kimxinfo ·
嗚...老師不要趕我走
properties (22)
authorkimxinfo
permlinkre-deanliu-re-kimxinfo-re-deanliu-da-series-learn-python-with-steem-04-20180801t011924874z
categoryda-learnpythonwithsteem
json_metadata{"community":"busy","app":"busy/2.5.4","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":[]}
created2018-08-01 01:19:21
last_update2018-08-01 01:19:21
depth3
children1
last_payout2018-08-08 01:19:21
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_length11
author_reputation1,748,728,029,640
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,699,857
net_rshares0
@kona ·
$0.13
遲交了的功課,那個Print 的空格怪怪的,有錯嗎?
![hw4.png](https://cdn.steemitimages.com/DQmNgnGbgYmPz42fArKXui7kcyNZUomWTx6WuSXHFBjJ9DD/hw4.png)
👍  
properties (23)
authorkona
permlinkre-deanliu-da-series-learn-python-with-steem-04-20180731t185355041z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"image":["https://cdn.steemitimages.com/DQmNgnGbgYmPz42fArKXui7kcyNZUomWTx6WuSXHFBjJ9DD/hw4.png"],"app":"steemit/0.1"}
created2018-07-31 18:53:57
last_update2018-07-31 18:53:57
depth1
children2
last_payout2018-08-07 18:53:57
cashout_time1969-12-31 23:59:59
total_payout_value0.096 HBD
curator_payout_value0.032 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length124
author_reputation39,758,138,507,499
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,670,181
net_rshares76,406,682,101
author_curate_reward""
vote details (1)
@deanliu ·
@antonsteemit ^_^
properties (22)
authordeanliu
permlinkre-kona-re-deanliu-da-series-learn-python-with-steem-04-20180801t142815172z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"users":["antonsteemit"],"app":"steemit/0.1"}
created2018-08-01 14:28:15
last_update2018-08-01 14:28:15
depth2
children1
last_payout2018-08-08 14:28:15
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_length17
author_reputation3,091,923,678,819,098
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,766,441
net_rshares0
@kona ·
看了上面的大學同學知道不用放end,就這樣print('\n')可以了😅😅
properties (22)
authorkona
permlinkre-deanliu-re-kona-re-deanliu-da-series-learn-python-with-steem-04-20180801t151940586z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"}
created2018-08-01 15:19:42
last_update2018-08-01 15:19:42
depth3
children0
last_payout2018-08-08 15:19: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_length37
author_reputation39,758,138,507,499
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,771,815
net_rshares0
@shine.wong ·
$0.14
![image.png](https://files.steempeak.com/file/steempeak/shine.wong/HnHZyepk-image.png)
发现好像python的很多符号和C很像,所以我试了下x++之类的,发现不认,哈哈哈~只能用x+=1这样的,真的没有x++这样的运算方法吗?
👍  ,
properties (23)
authorshine.wong
permlinkre-deanliu-da-series-learn-python-with-steem-04-20180731t052733309z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"community":"steempeak","app":"steempeak"}
created2018-07-31 05:27:36
last_update2018-07-31 05:27:36
depth1
children2
last_payout2018-08-07 05:27:36
cashout_time1969-12-31 23:59:59
total_payout_value0.107 HBD
curator_payout_value0.034 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length156
author_reputation1,329,335,530,903
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,597,706
net_rshares84,332,663,430
author_curate_reward""
vote details (2)
@antonsteemit ·
沒、沒有...
不知道Python為什麼要捨棄這樣的設計,做等其他大神來回答xD
properties (22)
authorantonsteemit
permlinkre-shinewong-re-deanliu-da-series-learn-python-with-steem-04-20180731t150422159z
categoryda-learnpythonwithsteem
json_metadata{"community":"busy","app":"busy/2.5.4","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":[]}
created2018-07-31 15:04:24
last_update2018-07-31 15:04:24
depth2
children1
last_payout2018-08-07 15:04:24
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_length41
author_reputation7,534,465,964,895
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,648,184
net_rshares0
@shine.wong ·
看来这个问题知道的人不多呀,连老师都不知道~
properties (22)
authorshine.wong
permlinkre-antonsteemit-re-shinewong-re-deanliu-da-series-learn-python-with-steem-04-20180801t010836769z
categoryda-learnpythonwithsteem
json_metadata{"tags":["da-learnpythonwithsteem"],"community":"steempeak","app":"steempeak"}
created2018-08-01 01:08:39
last_update2018-08-01 01:08:39
depth3
children0
last_payout2018-08-08 01:08:39
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,329,335,530,903
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,699,054
net_rshares0
@yjcps ·
$0.14
OK 交[作业](https://busy.org/@yjcps/learnpythonwithsteem04-0d8jly8ypt)啦

![图片.png](https://ipfs.busy.org/ipfs/QmZHLz33aMW2mhagrVZabiRs171iLXnb4iqybGpXnJmUUY)
👍  ,
properties (23)
authoryjcps
permlinkre-deanliu-da-series-learn-python-with-steem-04-20180731t125357577z
categoryda-learnpythonwithsteem
json_metadata{"community":"busy","app":"busy/2.5.4","format":"markdown","tags":["da-learnpythonwithsteem"],"users":["yjcps"],"links":["https://busy.org/@yjcps/learnpythonwithsteem04-0d8jly8ypt"],"image":["https://ipfs.busy.org/ipfs/QmZHLz33aMW2mhagrVZabiRs171iLXnb4iqybGpXnJmUUY"]}
created2018-07-31 12:53:57
last_update2018-07-31 12:53:57
depth1
children2
last_payout2018-08-07 12:53:57
cashout_time1969-12-31 23:59:59
total_payout_value0.107 HBD
curator_payout_value0.034 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 #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,634,928
net_rshares84,175,485,072
author_curate_reward""
vote details (2)
@antonsteemit ·
作業是不是太簡單啦xD
properties (22)
authorantonsteemit
permlinkre-yjcps-re-deanliu-da-series-learn-python-with-steem-04-20180731t150455690z
categoryda-learnpythonwithsteem
json_metadata{"community":"busy","app":"busy/2.5.4","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":[]}
created2018-07-31 15:04:57
last_update2018-07-31 15:04:57
depth2
children1
last_payout2018-08-07 15: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_length11
author_reputation7,534,465,964,895
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,648,232
net_rshares0
@yjcps ·
不简单哦,基本功练扎实,很重要。
properties (22)
authoryjcps
permlinkre-antonsteemit-re-yjcps-re-deanliu-da-series-learn-python-with-steem-04-20180801t012645401z
categoryda-learnpythonwithsteem
json_metadata{"community":"busy","app":"busy/2.5.4","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":[]}
created2018-08-01 01:26:45
last_update2018-08-01 01:26:45
depth3
children0
last_payout2018-08-08 01:26: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_length16
author_reputation1,019,613,572,923
root_title"[DA series - Learn Python with Steem #04] 迴圈"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id66,700,403
net_rshares0