{"id":163259,"student_id":1404,"content":"# a = int(input(\"邊長a:\"))\n# b = int(input(\"邊長b:\"))\n# c = int(input(\"邊長c:\"))\n\n# s = (a+b+c)/2\n# A = (s*(s-a)*(s-b)*(s-c))**(1/2)\n\n# print(\"三角形面積: \" + str(A))\n\n\n\n\na = int(input(\"邊長a\"))\nb = int(input(\"邊長b\"))\nc = int(input(\"邊長c\"))\n\ns = (a+b+c)/2\nans = (s*(s-a)*(s-b)*(s-c)) ** (1/2)\n\nif a+b\u003ec and a+c\u003eb and b+c\u003ea:\n print(\"面積是:\", ans)\nelse:\n print('兩邊和小於等於第三邊!!不是三角形!!')\n\n\n\n\n\n\n\n\n\n\n\n\n\n","created_at":"2020-07-09T11:01:00.361+08:00","updated_at":"2020-07-20T11:25:21.473+08:00","name":"考試神器-面積計算機_S 副本","language":"python","screenshot":{"url":"https://cdn5.koding.school/uploads/project/screenshot/163259/78c61e7f1ead7988a942b4dbd445e807.jpg"},"parent_id":162812,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":79,"hashid":"rdvsw5d3","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":2836525,"file_name":"圖片3.png","project_id":163259,"asset_id":231775,"created_at":"2020-07-09T11:01:00.366+08:00","updated_at":"2020-07-09T11:01:00.366+08:00"},{"id":2836526,"file_name":"圖片2.png","project_id":163259,"asset_id":231774,"created_at":"2020-07-09T11:01:00.367+08:00","updated_at":"2020-07-09T11:01:00.367+08:00"},{"id":2836527,"file_name":"圖片1.png","project_id":163259,"asset_id":231773,"created_at":"2020-07-09T11:01:00.368+08:00","updated_at":"2020-07-09T11:01:00.368+08:00"}]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
截圖
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦