{"id":165387,"student_id":10,"content":"var count = 0;\n\nfor (var i = 0; i \u003c 333; i++) {\n var arr = ['', '', ''];\n var rand = Math.floor(Math.random()*3);\n arr[rand] = '獎品';\n\n if (arr[1] == '') {\n if (arr[2] == '獎品') {\n count++;\n }\n } else {\n if (arr[1] == '獎品') {\n count++;\n }\n }\n}\n\nconsole.log(count);\nconsole.log(`玩了 333 次,選擇換門,有${count}次抽到獎項`);\n","created_at":"2020-07-15T11:21:32.405+08:00","updated_at":"2020-07-15T14:26:43.309+08:00","name":"三門問題","language":"javascript","screenshot":{"url":"https://cdn7.koding.school/uploads/project/screenshot/165387/fd1ac05835b665cf0d7e3c5532c7c2d7.jpg"},"parent_id":2,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":244,"hashid":"yeys96zn","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":2875021,"file_name":"Gymnopedie_No_1.mp3","project_id":165387,"asset_id":182919,"created_at":"2020-07-15T11:21:32.410+08:00","updated_at":"2020-07-15T11:21:32.410+08:00"},{"id":2875022,"file_name":"koding.png","project_id":165387,"asset_id":182918,"created_at":"2020-07-15T11:21:32.411+08:00","updated_at":"2020-07-15T11:21:32.411+08:00"},{"id":2875023,"file_name":"space_bg.jpg","project_id":165387,"asset_id":182917,"created_at":"2020-07-15T11:21:32.412+08:00","updated_at":"2020-07-15T11:21:32.412+08:00"},{"id":2875024,"file_name":"earth.png","project_id":165387,"asset_id":182916,"created_at":"2020-07-15T11:21:32.413+08:00","updated_at":"2020-07-15T11:21:32.413+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦