{"id":199296,"student_id":10,"content":"import random\nimport game\n\nn = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']\n\nrand_1 = random.randrange(10)\nrand_2 = random.randrange(9)\nrand_3 = random.randrange(8)\nrand_4 = random.randrange(7)\n\n\nanswer = ''\n\nanswer += n[rand_1]\ndel n[rand_1]\nanswer += n[rand_2]\ndel n[rand_2]\nanswer += n[rand_3]\ndel n[rand_3]\nanswer += n[rand_4]\ndel n[rand_4]\n\n\ndef loop():\n game.draw_text(answer, 10, 10, 'black', 50)\n\ngame.forever(loop) #重複不斷執行\n","created_at":"2020-10-28T18:57:39.625+08:00","updated_at":"2020-10-28T19:00:41.717+08:00","name":"a","language":"python","screenshot":{"url":"https://cdn3.koding.school/uploads/project/screenshot/199296/78c61e7f1ead7988a942b4dbd445e807.jpg"},"parent_id":4,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":210,"hashid":"wdks4vgd3","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":3428508,"file_name":"calm.mp3","project_id":199296,"asset_id":182924,"created_at":"2020-10-28T18:57:39.630+08:00","updated_at":"2020-10-28T18:57:39.630+08:00"},{"id":3428509,"file_name":"koding.png","project_id":199296,"asset_id":182923,"created_at":"2020-10-28T18:57:39.631+08:00","updated_at":"2020-10-28T18:57:39.631+08:00"},{"id":3428510,"file_name":"bg.jpg","project_id":199296,"asset_id":182922,"created_at":"2020-10-28T18:57:39.632+08:00","updated_at":"2020-10-28T18:57:39.632+08:00"},{"id":3428511,"file_name":"cloud.png","project_id":199296,"asset_id":182921,"created_at":"2020-10-28T18:57:39.633+08:00","updated_at":"2020-10-28T18:57:39.633+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦