{"id":169029,"student_id":3232,"content":"a = int(input(\"邊長\"))\nb = int(input(\"邊長\"))\nc = int(input(\"邊長\"))\n\nif (a + b) \u003e c and (b + c) \u003e a and (a + c) \u003e b:\n d = (a+b+c)/2\n A = (d*(d-a)*(d-b)*(d-c))**0.5\n print(A)\n if a == b and b == c:\n print(\"正三角形\")\n elif (a**2 + b**2) == c**2 or (c**2 + b**2) == a**2 or (a**2 + c**2) == b**2:\n print(\"直角三角形\")\n elif (a == b and b != c) or (b == c and b != a) or (a == c and a != b):\n print(\"等腰三角形\")\nelse:\n print(\"不是三角形\")\n\n","created_at":"2020-07-21T15:09:58.702+08:00","updated_at":"2020-07-21T16:19:23.852+08:00","name":"三角形","language":"python","screenshot":{"url":"https://cdn3.koding.school/uploads/project/screenshot/169029/d1df25b2738683732bd80fb77933492e.jpg"},"parent_id":4,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":38,"hashid":"5j3sqvrn","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":2923790,"file_name":"calm.mp3","project_id":169029,"asset_id":182924,"created_at":"2020-07-21T15:09:58.707+08:00","updated_at":"2020-07-21T15:09:58.707+08:00"},{"id":2923791,"file_name":"koding.png","project_id":169029,"asset_id":182923,"created_at":"2020-07-21T15:09:58.708+08:00","updated_at":"2020-07-21T15:09:58.708+08:00"},{"id":2923792,"file_name":"bg.jpg","project_id":169029,"asset_id":182922,"created_at":"2020-07-21T15:09:58.709+08:00","updated_at":"2020-07-21T15:09:58.709+08:00"},{"id":2923793,"file_name":"cloud.png","project_id":169029,"asset_id":182921,"created_at":"2020-07-21T15:09:58.710+08:00","updated_at":"2020-07-21T15:09:58.710+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦