{"id":250165,"student_id":10,"content":"# a = int(input())\n# b = int(input())\na = 121\nb = 110\nresult = 0\n\nfor i in range(a, 1, -1):\n if a % i == 0 and b % i == 0:\n result = i\n break #終止迴圈\n\nprint(result)","created_at":"2021-05-07T08:59:25.028+08:00","updated_at":"2021-05-07T09:16:44.182+08:00","name":"PY 找最大公因數","language":"python","screenshot":{"url":"https://cdn0.koding.school/uploads/project/screenshot/250165/78c61e7f1ead7988a942b4dbd445e807.jpg"},"parent_id":4,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":190,"hashid":"882sqdyew","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":4708420,"file_name":"koding.png","project_id":250165,"asset_id":302346,"created_at":"2021-05-07T08:59:25.034+08:00","updated_at":"2021-05-07T08:59:25.034+08:00"},{"id":4708421,"file_name":"calm.mp3","project_id":250165,"asset_id":302345,"created_at":"2021-05-07T08:59:25.035+08:00","updated_at":"2021-05-07T08:59:25.035+08:00"},{"id":4708422,"file_name":"bg.jpg","project_id":250165,"asset_id":302344,"created_at":"2021-05-07T08:59:25.036+08:00","updated_at":"2021-05-07T08:59:25.036+08:00"},{"id":4708423,"file_name":"cloud.png","project_id":250165,"asset_id":302343,"created_at":"2021-05-07T08:59:25.036+08:00","updated_at":"2021-05-07T08:59:25.036+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦