[[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 #02] 變數與資料型態](https://steemit.com/da-learnpythonwithsteem/@deanliu/da-series-learn-python-with-steem-02) https://steemitimages.com/0x0/https://cdn.steemitimages.com/DQmbeN1PpqQC2JE5HbpXatb3apUfFhe68fPLctT95FiiRHq/cover.png 新的一週開始了!讓我們繼續學習吧! 第#03堂課,今天我們來看一個相對簡單但非常重要的主題:**邏輯判斷** 吧! ## Python的 If Else 邏輯判斷 邏輯判斷可以說是程式語言最古老的基本成份,也是程式中非常常出現的語法。看懂了if else之後,加上我們之前對於變數的理解,看一個陌生的簡易程式碼已經可以理解五六成了。 其實我相信很多人看到If else這些英文字,就已經可以猜到大概的意義了。沒錯,正如他們的中文翻譯,`if`就是「如果」的意思:**如果符合這個情況(邏輯判斷)就執行下列程式**;而`else`則是跟隨在`if `後面的,代表不符合`if`的其他情況下,就執行這些程式。所以整個if else,可以翻譯成中文的「如果...否則...」 我現在舉一個非常簡單的例子,懂了之後再來看看一些比較細項的規定:  執行程式:`python tutorial_3.py` Output: `You are not overweight!` 注:本篇教學的程式碼可至[GitHub/tutorial_3.py](https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_3.py)中參考或下載。 在Python語言中,所有的**判斷式**都是用冒號(`:`)並且加上**換行縮排**來表示邏輯的上下關係。由上面的程式碼中可以看出,縮排的(按tab,相當於在段落前增加一個大空格)的 `print('You are not overweighted!')`是屬於 `if`的範圍,因此在 `if`成立時會被執行。 而`else`會跟`if`在同樣的水平位置,在`else:`的下一行也是一排經過縮排的內容,表示**else**成立的話,要執行的範圍。 ### 關於判斷式 放在 `if`後面的 `BMI>24`是一個 **Expression**,也就是一個會回傳「True or False」的式子。這裡的「大於小於」判斷很好理解,如果正確就回傳`True`、錯誤就回傳`False`。比較要注意的事,如果要判斷相等的話要使用`==`兩個等號,因為一個等號在程式中是`賦值`的意思,兩個等號才是一個會回傳True or False的Expression。 你可能會想說,上次學到的**布林值**不是也是`True` or `False`嗎?沒錯!所以可以在`if` 之類的地方放上以前學過的布林值。例如: ``` is_married = True if is_married: print('You are married') else: print('blah blah blah') ``` ## 關於縮排 這些縮排的規定是非常重要的,因為python中沒有使用任何括號來把if 的範圍刮起來,python完全是透過換行以及縮排來判斷要怎麼執行程式。如果你的換行與縮排有錯誤的話,會讓程式不知道何者屬於`if`的範圍,或何者屬於`else`的範圍。例如下面就是一個錯誤例子:  錯誤代碼如下: ``` File "tutorial_3.py", line 7 else: ^ SyntaxError: invalid syntax ``` 我們可以來練習怎麼讀這些錯誤。他告訴我們是在第七行的`else`出了問題,而他會跳出錯誤正是因為所有`else`出現前,都應該先有個**同縮排等級的if**。不然沒有「如果」哪來的「否則」阿? 如果你在執行程式的時候發現`IndentationError`的錯誤,很可能是因為每次縮排的方式不同。在python中,縮排不只水平距離看起來要一樣,若是用空白鍵按很多次按出來的,跟使用`tab`鍵一次跳一大步跳出來的,儘管肉眼看起來好像一樣,在程式編譯(執行前準備)也是會被擋下來的。 ## 多重判斷 如果只有`if `跟`else`的話,我們要撰寫一個判斷BMI是否正常的程式需要「兩層的if-else」。**因為在確定沒有過胖的情況下,還要在透過一次if - else 確定也沒有過瘦**,才算正常。因此我們的完整邏輯判斷會變成:  執行結果:`You are just fit!` 不過這種多重判斷是很常遇到的,我們通常會有很多的這種非類的情況,例如:假設我們要區分一個數字是位於0~10, 11~20, 21~30, 31~40 哪一個區間,如果只用單純的`if - else`的話,就需要**四層判斷**。當然我們的python不會讓我們這麼累啦!所以就發明了 `elif`的語法,意思就是 **Else if**,中文可以翻譯為「若不是,那如果...」 例如上面的BMI例子,就可以透過`elif`改寫如下:  所以這個程式會先判斷我的BMI是否大於24,若是,則輸出「You are overweight!」。 **若不是,那如果** BMI < 18,就輸出「You are underweight」。而最後剩餘的情況,也就是 BMI介於18~24之間,就是屬於正常。這樣寫是不是很簡單阿! ### 讓程式變有趣的小撇步 今天最後來教大家一個很好用的功能:讀取使用者輸入的函式:`input()`。 我們剛剛那些變數:`my_weight`、`my_height`都是在程式碼內自行輸入指定的,每次要測試不同的身高體重就要重新更改程式碼,要是可以在執行的時候手動輸入想要查詢的值就好了!因此有了`input()`這樣一個方便好用的函式。使用方式如下:  `input()`裡面放的字串是我們想要顯示在command line上的提示字元,在這裡就是詢問使用者,你的身高及體重為何。輸入完成後,這兩個值分別被存到`my_height`以及`my_weight`裡面。 但要注意的是,`input()`所讀進來的變數**型態為字串**,還記得我們前面說過,字串的加減乘除跟數字是不一樣的,其中乘法就會出錯。因此我們在使用這兩個變數計算BMI前,**要把他們的資料型態由「字串」轉為「數字」**。Python中我們可以直接用`float(x)`把一個x轉成 「有小數點的數字」,或是用`int(x)`把x轉成「正整數」。我們這裡兩個都是可以輸入小數點的,因此選擇用`float()`把讀到的字串轉成 **float**(這種有小數點的數字稱為**浮點數**) 執行結果如下:  是不是程式都變好玩了呀! 如你所見,`input()`可以幫助我們設計很多跟使用者互動的界面,大家也可以試著自己做做看一些簡單的「輸入並判斷」程式囉! ## Homework time:練習題! 從這章節開始,我們都在文末來指派個小小練習題好啦!讓大家自己建立一點成就感。今天小小的練習題: 利用If-Else Statement,設計一個程式 **要求使用者輸入三個數字,最後印出最大值:** 範例輸入與輸出  參考解答:[GitHub/@antoncoding](https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_3_exercise.py) 我們下篇文章再見囉~下課!  <sub>*image - pixabay*</sub>
author | deanliu |
---|---|
permlink | da-series-learn-python-with-steem-03 |
category | da-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/DQmTg97YpSunshVfTvQM9TGnkkke55LFbN6J3nT1Dp3qcMg/image.png","https://cdn.steemitimages.com/DQmcgTCmPYsmNXN74mFALiN2qfJfosLhD8JU22YMmsu2PWk/image.png","https://cdn.steemitimages.com/DQmdgimkYyjsgoKarenLA3okbZgVKKJLZ8jXTuwMAdfmnme/image.png","https://cdn.steemitimages.com/DQmQQ2MXjBrFZp6MhfgkoRhXsxdBoNZD4cm8RSrDip1FKwx/image.png","https://cdn.steemitimages.com/DQmXnHcMWj9xrsq3ev2zedmCUEraZAuTPstD1uFEtkYnUS7/image.png","https://cdn.steemitimages.com/DQmWd9mDrvMqfgDAeimTwUcmivHEoJzu5ix14WJNUsW4ssp/image.png","https://cdn.steemitimages.com/DQmPwgM7RoWzqWRcNxEE32TwFqe9qUio184CarpnwFUE9qK/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-02","https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_3.py","https://github.com/antoncoding/Python-x-Steem-tutorial/blob/master/tutorial_3_exercise.py"],"app":"steemit/0.1","format":"markdown"} |
created | 2018-07-30 02:13:48 |
last_update | 2018-07-31 08:12:39 |
depth | 0 |
children | 35 |
last_payout | 2018-08-06 02:13:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 21.673 HBD |
curator_payout_value | 3.777 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 4,339 |
author_reputation | 3,088,559,687,127,212 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,455,282 |
net_rshares | 14,889,142,481,308 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
abit | 0 | 233,734,801,916 | 100% | ||
jademont | 0 | 30,154,278,420 | 10% | ||
coinbitgold | 0 | 57,880,541,378 | 80% | ||
wongshiying | 0 | 140,155,044 | 100% | ||
mark-waser | 0 | 29,779,437,337 | 25% | ||
slowwalker | 0 | 1,293,602,799,552 | 12% | ||
blockchainbilly | 0 | 19,626,497,980 | 50% | ||
deanliu | 0 | 1,427,441,775,380 | 100% | ||
joythewanderer | 0 | 184,388,634,705 | 50% | ||
daynewright | 0 | 18,943,920,704 | 65% | ||
team-leibniz | 0 | 54,884,948,140 | 40% | ||
ace108 | 0 | 330,182,838,237 | 25% | ||
laoyao | 0 | 34,790,363,295 | 100% | ||
somebody | 0 | 1,289,601,093,408 | 100% | ||
midnightoil | 0 | 124,079,578,558 | 100% | ||
xiaohui | 0 | 700,785,827,803 | 100% | ||
oflyhigh | 0 | 2,437,543,457,180 | 100% | ||
xiaokongcom | 0 | 236,533,539 | 100% | ||
yulan | 0 | 14,602,938,773 | 100% | ||
rivalhw | 0 | 1,785,167,602,745 | 100% | ||
chinadaily | 0 | 218,269,471,627 | 100% | ||
helene | 0 | 781,502,798,493 | 100% | ||
ethansteem | 0 | 192,536,837,017 | 100% | ||
bestmz | 0 | 1,927,482,535 | 100% | ||
davidjkelley | 0 | 1,491,424,238 | 25% | ||
digital-wisdom | 0 | 16,359,987,412 | 25% | ||
ethical-ai | 0 | 5,389,994,109 | 25% | ||
jwaser | 0 | 6,278,007,897 | 25% | ||
damarth | 0 | 721,207,416 | 3% | ||
bwaser | 0 | 50,491,274 | 25% | ||
ellepdub | 0 | 470,595,731 | 25% | ||
rynow | 0 | 11,247,612,636 | 2% | ||
herpetologyguy | 0 | 54,424,298,863 | 25% | ||
handyman | 0 | 50,724,310 | 25% | ||
amylee | 0 | 168,638,877,737 | 100% | ||
strong-ai | 0 | 4,579,023,873 | 25% | ||
siniceku | 0 | 57,468,658 | 100% | ||
luneknight | 0 | 368,132,471 | 100% | ||
redes | 0 | 1,020,240,643,304 | 20% | ||
lalala | 0 | 122,410,955,867 | 100% | ||
mangos | 0 | 739,890,209,610 | 21% | ||
devilwsy | 0 | 2,195,777,830 | 100% | ||
janiceting | 0 | 2,193,461,746 | 100% | ||
lydiachan | 0 | 25,238,080,893 | 100% | ||
technoprogressiv | 0 | 3,471,995,433 | 25% | ||
jackhircus | 0 | 137,358,123,052 | 72% | ||
blackbunny | 0 | 105,172,422,022 | 100% | ||
chessmasterhex | 0 | 199,251,530 | 100% | ||
lingfei | 0 | 62,743,217,104 | 100% | ||
yyyy | 0 | 445,350,222 | 100% | ||
screenwriterml | 0 | 6,187,329,392 | 30% | ||
msg768 | 0 | 1,123,755,598 | 1% | ||
wylo | 0 | 603,782,841 | 100% | ||
cryptoted | 0 | 112,853,322 | 100% | ||
jkkim | 0 | 76,723,970 | 10% | ||
nanosesame | 0 | 143,298,442,748 | 100% | ||
nuagnorab | 0 | 466,747,187 | 100% | ||
victorier | 0 | 82,952,112,812 | 100% | ||
exec | 0 | 83,510,649,631 | 100% | ||
eval | 0 | 788,916,318 | 100% | ||
aaronli | 0 | 21,484,829,282 | 47% | ||
that1consultant | 0 | 293,282,791 | 100% | ||
sanzo | 0 | 339,099,991 | 100% | ||
sweetieprincess | 0 | 31,454,337,119 | 50% | ||
zeekcryptominer | 0 | 307,368,503 | 100% | ||
liangfengyouren | 0 | 1,606,933,186 | 50% | ||
idx | 0 | 12,236,622,944 | 100% | ||
marcoharley1995 | 0 | 609,061,897 | 100% | ||
fr3eze | 0 | 72,296,539,473 | 50% | ||
tvb | 0 | 34,369,192,238 | 50% | ||
skenan | 0 | 85,838,020,288 | 50% | ||
plokmi | 0 | 3,235,611,061 | 100% | ||
jessie901220 | 0 | 16,643,619,881 | 100% | ||
davidke20 | 0 | 1,780,209,941 | 10% | ||
dgorbunov | 0 | 498,797,174 | 100% | ||
ms8988 | 0 | 596,424,034 | 100% | ||
yingpingzhang | 0 | 13,156,509,027 | 100% | ||
kettleandseagull | 0 | 10,057,595,866 | 100% | ||
bobdos | 0 | 229,342,542,785 | 100% | ||
lindalex | 0 | 225,997,057 | 50% | ||
winniex | 0 | 4,807,529,184 | 10% | ||
kimxinfo | 0 | 8,446,412,163 | 100% | ||
windowglass | 0 | 17,495,371,294 | 50% | ||
cnbuddy | 0 | 4,263,040,617 | 0.1% | ||
chann | 0 | 5,149,695,171 | 20% | ||
santiagocazorla | 0 | 611,934,887 | 100% | ||
taos | 0 | 231,578,211 | 50% | ||
lebin | 0 | 22,269,061,062 | 5% | ||
itchyfeetdonica | 0 | 14,199,027,380 | 100% | ||
coindzs | 0 | 164,033,936 | 100% | ||
cathvanlael | 0 | 122,840,630 | 100% | ||
meixia | 0 | 2,838,671,629 | 100% | ||
comingback | 0 | 256,054,902 | 12% | ||
yjcps | 0 | 1,776,544,175 | 100% | ||
btccurrency1 | 0 | 54,738,143 | 100% | ||
ethanlee | 0 | 10,531,928,668 | 100% | ||
eondas | 0 | 485,936,217 | 100% | ||
liuzg | 0 | 316,764,628 | 100% | ||
honoru | 0 | 605,124,393 | 50% | ||
lzg | 0 | 261,768,277 | 50% | ||
hansaldi | 0 | 550,532,772 | 100% | ||
springfall | 0 | 452,140,865 | 100% | ||
fishlucy | 0 | 24,267,353,980 | 50% | ||
pgr | 0 | 224,412,894 | 25% | ||
china-mobile | 0 | 558,700,266 | 100% | ||
xiaoyuanwmm | 0 | 238,344,254 | 100% | ||
tydebbie | 0 | 857,560,643 | 50% | ||
ybeyond | 0 | 124,111,769 | 100% | ||
team-cn | 0 | 116,073,514,772 | 100% | ||
weitz | 0 | 257,134,952 | 50% | ||
hardmetal | 0 | 461,153,203 | 100% | ||
tecire | 0 | 606,678,485 | 100% | ||
jerseymikes | 0 | 606,270,868 | 100% | ||
coder-bts | 0 | 11,759,358,326 | 100% | ||
chick-fil-a | 0 | 608,182,913 | 100% | ||
redlobster | 0 | 610,799,833 | 100% | ||
fiveguys | 0 | 608,285,680 | 100% | ||
marcoy2j | 0 | 299,676,167 | 50% | ||
yuwen | 0 | 461,142,184 | 100% | ||
shuxue | 0 | 454,952,347 | 100% | ||
yingyu | 0 | 461,532,273 | 100% | ||
wuli | 0 | 455,337,201 | 100% | ||
huaxue | 0 | 455,337,194 | 100% | ||
shengwu | 0 | 446,044,586 | 100% | ||
tiffany4ever | 0 | 131,266,848 | 50% | ||
dealmoon | 0 | 609,296,119 | 100% | ||
moonbbs | 0 | 609,186,117 | 100% | ||
bonefish | 0 | 609,102,486 | 100% | ||
chilis | 0 | 609,141,157 | 100% | ||
olive-garden | 0 | 609,102,486 | 100% | ||
zhuanzhibufu | 0 | 456,765,667 | 100% | ||
shuxuan | 0 | 522,682,309 | 100% | ||
xiaowucw | 0 | 507,365,438 | 100% | ||
menshealthblog | 0 | 493,532,857 | 100% | ||
new-voices | 0 | 611,895,605 | 100% | ||
nozuonodie | 0 | 611,201,023 | 100% | ||
yamibuy | 0 | 611,201,023 | 100% | ||
zongli | 0 | 439,682,157 | 100% | ||
zhuxi | 0 | 455,161,075 | 100% | ||
jidgabol | 0 | 146,434,208 | 100% | ||
bunnymandy | 0 | 167,955,630 | 50% | ||
teamcn-weekly | 0 | 610,526,137 | 100% | ||
teamcn-news | 0 | 610,526,137 | 100% | ||
roy-rogers | 0 | 610,526,137 | 100% | ||
wenxuecity | 0 | 610,526,137 | 100% | ||
huaren | 0 | 610,529,467 | 100% | ||
mitbbs | 0 | 610,529,467 | 100% | ||
teamcn | 0 | 610,526,137 | 100% | ||
cn-health | 0 | 609,781,973 | 100% | ||
cn-doctors | 0 | 609,781,973 | 100% | ||
wongmanman | 0 | 275,187,729 | 50% | ||
reaper7 | 0 | 552,290,907 | 100% | ||
kissfirer | 0 | 608,329,487 | 100% | ||
sdream | 0 | 100,058,978 | 100% | ||
lkvictor2005 | 0 | 7,283,001,584 | 100% | ||
happyfamily | 0 | 96,715,563 | 100% | ||
luokai1992 | 0 | 550,384,753 | 100% | ||
gesselle | 0 | 209,815,182 | 100% |
python 有沒有 **case** 的
author | aaronli |
---|---|
permlink | re-deanliu-da-series-learn-python-with-steem-03-20180731t054138085z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-07-31 05:41:39 |
last_update | 2018-07-31 05:41:39 |
depth | 1 |
children | 0 |
last_payout | 2018-08-07 05:41:39 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 21 |
author_reputation | 346,133,855,586,244 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,598,773 |
net_rshares | 0 |
FYI, the code  Doesn't sync with Output: You are not overweight<strong>ed!></strong>
author | ace108 |
---|---|
permlink | re-deanliu-da-series-learn-python-with-steem-03-20180730t140520898z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"image":["https://cdn.steemitimages.com/DQmen3GPbSsgvhhrAEvkwu1zd5yddGKjej3g72ckER7DMuZ/image.png"],"app":"steemit/0.1"} |
created | 2018-07-30 14:05:21 |
last_update | 2018-07-30 14:05:21 |
depth | 1 |
children | 0 |
last_payout | 2018-08-06 14:05:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 177 |
author_reputation | 1,221,077,086,915,775 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,518,190 |
net_rshares | 0 |
我要赶紧跟上你们的步伐,先去下载Python lol
author | joythewanderer |
---|---|
permlink | re-deanliu-da-series-learn-python-with-steem-03-20180730t081232912z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-07-30 08:12:48 |
last_update | 2018-07-30 08:12:48 |
depth | 1 |
children | 2 |
last_payout | 2018-08-06 08:12:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 26 |
author_reputation | 1,916,082,145,948,706 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,484,762 |
net_rshares | 0 |
走很慢的~~ ^_^
author | deanliu |
---|---|
permlink | re-joythewanderer-re-deanliu-da-series-learn-python-with-steem-03-20180730t104051959z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-07-30 10:40:51 |
last_update | 2018-07-30 10:40:51 |
depth | 2 |
children | 0 |
last_payout | 2018-08-06 10:40:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 10 |
author_reputation | 3,088,559,687,127,212 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,497,713 |
net_rshares | 0 |
你很快能赶上的! Posted using [Partiko Android](https://play.google.com/store/apps/details?id=io.partiko.android)
author | shine.wong |
---|---|
permlink | shine-wong-re-joythewanderer-re-deanliu-da-series-learn-python-with-steem-03-20180730t104819029z |
category | da-learnpythonwithsteem |
json_metadata | {"app":"partiko"} |
created | 2018-07-30 10:48:18 |
last_update | 2018-07-30 10:48:18 |
depth | 2 |
children | 0 |
last_payout | 2018-08-06 10:48:18 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 106 |
author_reputation | 1,329,335,530,903 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,498,329 |
net_rshares | 0 |

author | kimxinfo |
---|---|
permlink | re-deanliu-da-series-learn-python-with-steem-03-20180730t033416403z |
category | da-learnpythonwithsteem |
json_metadata | {"community":"busy","app":"busy/2.5.3","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":["https://ipfs.busy.org/ipfs/QmTxEsYLx4X1Y7BJPvKeFT6j4FPj5h1Ft3hqvKwSBNiZAA"]} |
created | 2018-07-30 03:34:15 |
last_update | 2018-07-30 03:34:15 |
depth | 1 |
children | 5 |
last_payout | 2018-08-06 03:34:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.096 HBD |
curator_payout_value | 0.031 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 87 |
author_reputation | 1,748,728,029,640 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,461,458 |
net_rshares | 75,128,514,493 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
deanliu | 0 | 75,128,514,493 | 5% |
丫...下次注意取名XD
author | kimxinfo |
---|---|
permlink | re-kimxinfo-re-deanliu-da-series-learn-python-with-steem-03-20180730t053154354z |
category | da-learnpythonwithsteem |
json_metadata | {"community":"busy","app":"busy/2.5.3","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":[]} |
created | 2018-07-30 05:31:54 |
last_update | 2018-07-30 05:31:54 |
depth | 2 |
children | 0 |
last_payout | 2018-08-06 05:31:54 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 12 |
author_reputation | 1,748,728,029,640 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,470,794 |
net_rshares | 0 |
好奇怪,为什么你的max变量的颜色与其他的变量颜色不一样?
author | yjcps |
---|---|
permlink | re-kimxinfo-re-deanliu-da-series-learn-python-with-steem-03-20180730t035639508z |
category | da-learnpythonwithsteem |
json_metadata | {"community":"busy","app":"busy/2.5.3","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":[]} |
created | 2018-07-30 03:56:42 |
last_update | 2018-07-30 03:56:42 |
depth | 2 |
children | 3 |
last_payout | 2018-08-06 03:56:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 29 |
author_reputation | 1,019,613,572,923 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,463,177 |
net_rshares | 0 |
你的寫法是沒問題的,只是因為max剛好是python一個常用function的名字,所以你的編輯器會自動幫忙變色。不過現在你宣告這個max 等於一個變數了,所以他其實已經被你覆蓋掉了~沒問題的。
author | antonsteemit |
---|---|
permlink | re-yjcps-re-kimxinfo-re-deanliu-da-series-learn-python-with-steem-03-20180730t044556693z |
category | da-learnpythonwithsteem |
json_metadata | {"community":"busy","app":"busy/2.5.3","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":[]} |
created | 2018-07-30 04:45:57 |
last_update | 2018-07-30 04:45:57 |
depth | 3 |
children | 0 |
last_payout | 2018-08-06 04:45:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.043 HBD |
curator_payout_value | 0.012 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 97 |
author_reputation | 7,534,465,964,895 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,467,027 |
net_rshares | 33,489,250,327 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
deanliu | 0 | 25,042,838,164 | 1% | ||
kimxinfo | 0 | 8,446,412,163 | 100% |
 因为这个max不是变量
author | shine.wong |
---|---|
permlink | re-yjcps-re-kimxinfo-re-deanliu-da-series-learn-python-with-steem-03-20180730t035856757z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"community":"steempeak","app":"steempeak"} |
created | 2018-07-30 03:58:57 |
last_update | 2018-07-30 04:03:45 |
depth | 3 |
children | 1 |
last_payout | 2018-08-06 03:58:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.032 HBD |
curator_payout_value | 0.010 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 98 |
author_reputation | 1,329,335,530,903 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,463,358 |
net_rshares | 25,042,838,164 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
deanliu | 0 | 25,042,838,164 | 1% |
my hw: 
author | kona |
---|---|
permlink | re-deanliu-da-series-learn-python-with-steem-03-20180730t040055295z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"image":["https://cdn.steemitimages.com/DQmdfGqVZvzmbeeKVRTR1pEh8FtYHHztGVdUvA3JaFK1E8g/hw3.png"],"app":"steemit/0.1"} |
created | 2018-07-30 04:00:57 |
last_update | 2018-07-30 04:00:57 |
depth | 1 |
children | 11 |
last_payout | 2018-08-06 04:00:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.096 HBD |
curator_payout_value | 0.031 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 104 |
author_reputation | 39,758,138,507,499 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,463,511 |
net_rshares | 75,128,514,493 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
deanliu | 0 | 75,128,514,493 | 5% |
有個問題,為什麼我在line6, 如果不打東西會顯示IndentationError,可是這樣加上print(''),好像有點多餘,求解答!
author | kona |
---|---|
permlink | re-kona-re-deanliu-da-series-learn-python-with-steem-03-20180730t040612914z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-07-30 04:06:15 |
last_update | 2018-07-30 04:06:15 |
depth | 2 |
children | 10 |
last_payout | 2018-08-06 04:06:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 70 |
author_reputation | 39,758,138,507,499 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,463,946 |
net_rshares | 0 |
對,聽高手@yjcps的!
author | antonsteemit |
---|---|
permlink | re-kona-re-kona-re-deanliu-da-series-learn-python-with-steem-03-20180730t044337044z |
category | da-learnpythonwithsteem |
json_metadata | {"community":"busy","app":"busy/2.5.3","format":"markdown","tags":["da-learnpythonwithsteem"],"users":["yjcps"],"links":["/@yjcps"],"image":[]} |
created | 2018-07-30 04:43:36 |
last_update | 2018-07-30 04:43:36 |
depth | 3 |
children | 1 |
last_payout | 2018-08-06 04:43:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 13 |
author_reputation | 7,534,465,964,895 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,466,873 |
net_rshares | 0 |
謝謝各高手,學了pass, 還想問問,沒看清題目,這樣用上elif好還是只用if..else好?
author | kona |
---|---|
permlink | re-kona-re-kona-re-deanliu-da-series-learn-python-with-steem-03-20180730t052757212z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-07-30 05:27:57 |
last_update | 2018-07-30 05:28:48 |
depth | 3 |
children | 2 |
last_payout | 2018-08-06 05:27:57 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 48 |
author_reputation | 39,758,138,507,499 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,470,466 |
net_rshares | 0 |
你可以吧这个print换成pass  这样符合语法,但是你这个if里就不要写其他的了,因为我不知道pass是什么作用,只是加了后语法正常能够过编译,如果你加了其他东西,那所加的内容还是会正常运行的。
author | shine.wong |
---|---|
permlink | re-kona-re-kona-re-deanliu-da-series-learn-python-with-steem-03-20180730t044907871z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"image":["https://cdn.steemitimages.com/DQmQNGcPgkeWosdePieCnKYLTwVxUjraNeUKuPt3ebiAR1d/image.png"],"app":"steemit/0.1"} |
created | 2018-07-30 04:49:09 |
last_update | 2018-07-30 04:49:09 |
depth | 3 |
children | 0 |
last_payout | 2018-08-06 04:49:09 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.032 HBD |
curator_payout_value | 0.010 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 191 |
author_reputation | 1,329,335,530,903 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,467,257 |
net_rshares | 25,042,838,164 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
deanliu | 0 | 25,042,838,164 | 1% |
应该是不写东西不符合Python的语法。 在 if True: 的后面要写做出选择后要做的事情,什么都不做写个pass,像这样: ``` python if True: pass ```
author | yjcps |
---|---|
permlink | re-kona-re-kona-re-deanliu-da-series-learn-python-with-steem-03-20180730t044144827z |
category | da-learnpythonwithsteem |
json_metadata | {"community":"busy","app":"busy/2.5.3","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":[]} |
created | 2018-07-30 04:41:45 |
last_update | 2018-07-30 04:41:45 |
depth | 3 |
children | 3 |
last_payout | 2018-08-06 04:41:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.033 HBD |
curator_payout_value | 0.009 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 98 |
author_reputation | 1,019,613,572,923 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,466,727 |
net_rshares | 25,198,253,471 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
deanliu | 0 | 25,042,838,164 | 1% | ||
shine.wong | 0 | 155,415,307 | 100% |
author | plokmi |
---|---|
permlink | re-deanliu-da-series-learn-python-with-steem-03-20180730t065004968z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-07-30 06:50:03 |
last_update | 2018-07-30 06:50:03 |
depth | 1 |
children | 1 |
last_payout | 2018-08-06 06:50:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 27 |
author_reputation | 8,641,481,688,056 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,477,448 |
net_rshares | 366,359,273 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
sou1iane | 0 | 200,350,359 | 2.5% | ||
penghuren | 0 | 166,008,914 | 3.75% |
不用客氣。
author | deanliu |
---|---|
permlink | re-plokmi-re-deanliu-da-series-learn-python-with-steem-03-20180730t104125447z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-07-30 10:41:24 |
last_update | 2018-07-30 10:41:24 |
depth | 2 |
children | 0 |
last_payout | 2018-08-06 10:41:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 5 |
author_reputation | 3,088,559,687,127,212 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,497,756 |
net_rshares | 0 |
收益了。谢谢! 顺便提个小小的建议:博文尾部加一条回索到上一课的博文链接就更好。
author | sdream |
---|---|
permlink | re-deanliu-da-series-learn-python-with-steem-03-20180730t021721372z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-07-30 02:17:24 |
last_update | 2018-07-30 02:19:57 |
depth | 1 |
children | 2 |
last_payout | 2018-08-06 02:17:24 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.115 HBD |
curator_payout_value | 0.011 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 41 |
author_reputation | 591,097,764,011 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 0 |
post_id | 66,455,542 |
net_rshares | 75,128,514,493 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
deanliu | 0 | 75,128,514,493 | 5% |
good idea! thanks!
author | deanliu |
---|---|
permlink | re-sdream-re-deanliu-da-series-learn-python-with-steem-03-20180730t022952587z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-07-30 02:29:51 |
last_update | 2018-07-30 02:29:51 |
depth | 2 |
children | 1 |
last_payout | 2018-08-06 02:29:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 18 |
author_reputation | 3,088,559,687,127,212 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,456,503 |
net_rshares | 0 |
更谢谢你的礼包!
author | sdream |
---|---|
permlink | re-deanliu-re-sdream-re-deanliu-da-series-learn-python-with-steem-03-20180730t023158708z |
category | da-learnpythonwithsteem |
json_metadata | {"community":"busy","app":"busy/2.5.3","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":[]} |
created | 2018-07-30 02:32:00 |
last_update | 2018-07-30 02:32:00 |
depth | 3 |
children | 0 |
last_payout | 2018-08-06 02:32:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 8 |
author_reputation | 591,097,764,011 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,456,665 |
net_rshares | 0 |
 交作业,我还担心负数会有什么问题呐,结果好像没有,但是这个任务的要求貌似我没用到elif,希望下次用吧,哈哈哈~
author | shine.wong |
---|---|
permlink | re-deanliu-da-series-learn-python-with-steem-03-20180730t035746717z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"community":"steempeak","app":"steempeak"} |
created | 2018-07-30 03:57:48 |
last_update | 2018-07-30 04:00:12 |
depth | 1 |
children | 0 |
last_payout | 2018-08-06 03:57:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.096 HBD |
curator_payout_value | 0.031 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 143 |
author_reputation | 1,329,335,530,903 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,463,279 |
net_rshares | 75,128,514,493 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
deanliu | 0 | 75,128,514,493 | 5% |
看看回复,我又发现了这个用法~ 
author | shine.wong |
---|---|
permlink | re-deanliu-da-series-learn-python-with-steem-03-20180730t040706039z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"community":"steempeak","app":"steempeak"} |
created | 2018-07-30 04:07:06 |
last_update | 2018-07-30 04:07:06 |
depth | 1 |
children | 2 |
last_payout | 2018-08-06 04:07:06 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.096 HBD |
curator_payout_value | 0.031 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 102 |
author_reputation | 1,329,335,530,903 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,464,021 |
net_rshares | 75,128,514,493 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
deanliu | 0 | 75,128,514,493 | 5% | ||
ygrj | 0 | 0 | 100% |
发现新大陆啊,哈哈
author | yjcps |
---|---|
permlink | re-shinewong-re-deanliu-da-series-learn-python-with-steem-03-20180730t044221471z |
category | da-learnpythonwithsteem |
json_metadata | {"community":"busy","app":"busy/2.5.3","format":"markdown","tags":["da-learnpythonwithsteem"],"users":[],"links":[],"image":[]} |
created | 2018-07-30 04:42:21 |
last_update | 2018-07-30 04:42:21 |
depth | 2 |
children | 1 |
last_payout | 2018-08-06 04:42:21 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 9 |
author_reputation | 1,019,613,572,923 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,466,792 |
net_rshares | 152,177,488 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
shine.wong | 0 | 152,177,488 | 100% |
多谢你的提点和提问!
author | shine.wong |
---|---|
permlink | re-yjcps-re-shinewong-re-deanliu-da-series-learn-python-with-steem-03-20180730t045014152z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-07-30 04:50:15 |
last_update | 2018-07-30 04:50:15 |
depth | 3 |
children | 0 |
last_payout | 2018-08-06 04:50:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 10 |
author_reputation | 1,329,335,530,903 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,467,344 |
net_rshares | 0 |
了解一下!
author | yingpingzhang |
---|---|
permlink | re-deanliu-da-series-learn-python-with-steem-03-20180730t034549408z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-07-30 03:45:48 |
last_update | 2018-07-30 03:45:48 |
depth | 1 |
children | 2 |
last_payout | 2018-08-06 03:45:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 5 |
author_reputation | 1,348,872,191,969 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,462,309 |
net_rshares | 0 |
碼神你別裝了啦!XD
author | deanliu |
---|---|
permlink | re-yingpingzhang-re-deanliu-da-series-learn-python-with-steem-03-20180730t103750763z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-07-30 10:37:48 |
last_update | 2018-07-30 10:37:48 |
depth | 2 |
children | 1 |
last_payout | 2018-08-06 10:37:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 10 |
author_reputation | 3,088,559,687,127,212 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 66,497,467 |
net_rshares | 0 |
python我确实不懂啊!
author | yingpingzhang |
---|---|
permlink | re-deanliu-re-yingpingzhang-re-deanliu-da-series-learn-python-with-steem-03-20180820t130011873z |
category | da-learnpythonwithsteem |
json_metadata | {"tags":["da-learnpythonwithsteem"],"app":"steemit/0.1"} |
created | 2018-08-20 13:00:15 |
last_update | 2018-08-20 13:00:15 |
depth | 3 |
children | 0 |
last_payout | 2018-08-27 13:00:15 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 13 |
author_reputation | 1,348,872,191,969 |
root_title | "[DA series - Learn Python with Steem #03] 邏輯判斷" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 68,801,373 |
net_rshares | 0 |