{"id":250162,"student_id":10,"content":"# 你要從 5 個學生裡面,挑選 2 個代表班級參加才藝表演,\n# 將所有的排列組合印出來\n\nstudents = [\"小叮噹\", \"小夫\", \"胖虎\", \"靜香\", \"大雄\"]\n\nfor x in range(0, 5):\n for y in range(x + 1, 5):\n \n s1 = students[x]\n s2 = names[y]\n print(s1 + \" 和 \" + s2)\n \n# 那如果改成挑選 3 個學生該怎麼半ㄋ?","created_at":"2021-05-07T06:38:54.617+08:00","updated_at":"2021-05-07T06:46:00.506+08:00","name":"C5 取 2","language":"python","screenshot":{"url":"https://cdn9.koding.school/uploads/project/screenshot/250162/78c61e7f1ead7988a942b4dbd445e807.jpg"},"parent_id":250160,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":247,"hashid":"wdks43vpg","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":4708412,"file_name":"koding.png","project_id":250162,"asset_id":302346,"created_at":"2021-05-07T06:38:54.622+08:00","updated_at":"2021-05-07T06:38:54.622+08:00"},{"id":4708413,"file_name":"calm.mp3","project_id":250162,"asset_id":302345,"created_at":"2021-05-07T06:38:54.623+08:00","updated_at":"2021-05-07T06:38:54.623+08:00"},{"id":4708414,"file_name":"bg.jpg","project_id":250162,"asset_id":302344,"created_at":"2021-05-07T06:38:54.624+08:00","updated_at":"2021-05-07T06:38:54.624+08:00"},{"id":4708415,"file_name":"cloud.png","project_id":250162,"asset_id":302343,"created_at":"2021-05-07T06:38:54.625+08:00","updated_at":"2021-05-07T06:38:54.625+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦