{"id":212437,"student_id":3760,"content":"from game import *\nfrom random import *\n\nplaces = ['台中', '台北', '台南', '桃園', '新竹']\nnames = ['周杰倫', '金城武', '劉德華', '新垣結一', '林志玲']\n\nset_backdrop('bg.jpeg', 0, 0, 1200, 900)\n\ntext = '???'\n\ndef onclick():\n global text\n rand_1 = randrange(5)\n rand_2 = randrange(5)\n text = places[rand_1] + names[rand_2]\n\ndef loop():\n draw_text(text, 200, 600, 'blue', 130)\n\nforever(loop)\non('click', onclick)","created_at":"2020-12-15T22:13:07.674+08:00","updated_at":"2020-12-15T22:50:31.670+08:00","name":"基礎語法 - 串列:我是誰 範例","language":"python","screenshot":{"url":"https://cdn5.koding.school/uploads/project/screenshot/212437/07d1fd3dd65af6686c26a40a1148d102.jpg"},"parent_id":210542,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":32,"hashid":"npms33283","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":3720615,"file_name":"bg.jpeg","project_id":212437,"asset_id":291520,"created_at":"2020-12-15T22:13:07.679+08:00","updated_at":"2020-12-15T22:13:07.679+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦