{"id":212425,"student_id":3760,"content":"import game\n\ngame.set_backdrop('cube.png')\n\na = 0\n\ndef loop():\n game.draw_text('邊長 ' + str(a), 550, 210, 'white', 60)\n v = a ** 3\n game.draw_text('面積:' + str(v), 400, 700, 'white', 60)\n \n\ndef onclick():\n global a\n a = int(input('立方體邊長:'))\n\ngame.forever(loop)\ngame.on('click', onclick)","created_at":"2020-12-15T21:48:38.040+08:00","updated_at":"2020-12-15T21:49:12.781+08:00","name":"基礎語法 - 數學運算:立方體計算器 範例","language":"python","screenshot":{"url":null},"parent_id":207538,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":47,"hashid":"rdvs66qy8","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":3720531,"file_name":"cube.png","project_id":212425,"asset_id":285686,"created_at":"2020-12-15T21:48:38.045+08:00","updated_at":"2020-12-15T21:48:38.045+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦