{"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":"/uploads/project/screenshot/165387/fd1ac05835b665cf0d7e3c5532c7c2d7.jpg"},"parent_id":2,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":423,"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"}]
Orange Apple Learning Platform
My Projects
View Project Page
Export
Remix
Import
Delete
Download Android APP (APK)
Screenshot
繁中
简中
English
日本語
1:1:1
1:1
Full Width
Scan the QRCode below with your phone to install
Or you can
download APK
to this computer
Scan the QRCode below with your phone to install
Or you can
download APK
to this computer