{"id":250156,"student_id":10,"content":"arr1 = ['10', '20', '30', '40', '50', '121']\narr2 = ['15', '50', '66', '32', '25', '187']\nresult = []\n\nfor i in range(len(arr1)):\n a = int(arr1[i])\n b = int(arr2[i])\n\n for i in range(a, 1, -1):\n if a % i == 0 and b % i == 0:\n result.append(i)\n break\n\nprint(result)","created_at":"2021-05-06T23:39:06.906+08:00","updated_at":"2021-05-07T00:16:58.205+08:00","name":"公因數","language":"python","screenshot":{"url":"https://cdn5.koding.school/uploads/project/screenshot/250156/78c61e7f1ead7988a942b4dbd445e807.jpg"},"parent_id":4,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":188,"hashid":"ej9s28d56","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":4708388,"file_name":"bg.jpg","project_id":250156,"asset_id":302344,"created_at":"2021-05-06T23:39:06.913+08:00","updated_at":"2021-05-06T23:39:06.913+08:00"},{"id":4708389,"file_name":"cloud.png","project_id":250156,"asset_id":302343,"created_at":"2021-05-06T23:39:06.914+08:00","updated_at":"2021-05-06T23:39:06.914+08:00"},{"id":4708386,"file_name":"koding.png","project_id":250156,"asset_id":302346,"created_at":"2021-05-06T23:39:06.911+08:00","updated_at":"2021-05-06T23:39:06.911+08:00"},{"id":4708387,"file_name":"calm.mp3","project_id":250156,"asset_id":302345,"created_at":"2021-05-06T23:39:06.912+08:00","updated_at":"2021-05-06T23:39:06.912+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦