{"id":201028,"student_id":2589,"content":"fruit = ['橘子', '蘋果', '香蕉', '芭樂', '草莓']\n\n# 橘子\nprint(fruit[0]) \n\n# 蘋果\nprint(fruit[1]) \n\n# 草莓\nprint(fruit[4]) \n\n# 讀取超出串列範圍會造成程式錯誤\nprint(fruit[5]) ","created_at":"2020-11-03T17:52:15.195+08:00","updated_at":"2022-10-12T13:50:52.079+08:00","name":"考前筆記_範例","language":"python","screenshot":{"url":"https://cdn0.koding.school/uploads/project/screenshot/201028/78c61e7f1ead7988a942b4dbd445e807.jpg"},"parent_id":201025,"plugin":"import game\ngame.setBackdrop(\"#000000\");\n\nclock = 0\ndef loop():\n global clock\n if (clock // 50) % 2 == 0:\n game.draw_text(\"執 行 完 成 , 請 查 看 主 控 台 ! _\", 60, 60, '#fff', 50)\n else:\n game.draw_text(\"執 行 完 成 , 請 查 看 主 控 台 ! \", 60, 60, '#fff', 50)\n clock += 1\n\ngame.forever(loop)","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":75,"hashid":"ej9s2dv4z","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦