What can I do?
Study Talk
Q&A
Notebooks
subjects
Tutoring Schools
Sign up
Sign in
My Account
Already have an account?
Forgot password?
Sign in
Clearnote
Q&A
Undergraduate
Mathematics & Statistics
老師推薦 BMI計算
Mathematics & Statistics
Undergraduate
over 2 yearsago
►__◄
老師推薦 BMI計算
過輕 的情況 409630356計算BMI.ipynb ☆ 檔案 編輯 檢視畫面插入執行階段工具說明 + 程式碼 +文字 #輸入系級+姓名+學號 dept=input("輸入你的系級:) name=input(“輸入你的姓名:) | num=input("輸入你的學號:) #輸入身高+體重 h=float(input("\n請輸入身高cm: )) w=float(input("請輸入體重kg: )) #開始計算BMI並且輸出值 BMI=w/((h/100)**2) print("\n",dept, 的,num+name,同學您好*) print(*\n 你的BMI是:,round(BMI, 2)) #判斷BMI數值是否過輕/正常/過重 if BMI<18.5: print(〞 過輕!請吃多一點) (BMI>=18.5) and (BMI<=24): print(〞穠纖合度正常!) elif elif BMI>24: print(" 過重!請調整飲食習慣) 輸入你的系級:資管四B 輸入你的姓名:譚榕烜 輸入你的學號:409630356 請輸入身高:158 請輸入體重kg:10 資管四B 的 409630356譚榕烜 同學 您好~ 你的BMI是: 4.01 過輕!請吃多一點 24 秒 正常的情況 409630356計算BMI.ipynb ☆ 檔案 編輯 檢視畫面 插入 執行階段 工具說明 +文字 + 程式碼 #輸入系級+姓名+學號 dept=input(輸入你的系級:) name=input("輸入你的姓名:) num=input(“輸入你的學號:) #輸入身高+體重 h=float(input("\n請輸入身高cm:)) w=float(input("請輸入體重kg:)) #開始計算BMI並且輸出值 BMI=w/((h/100)**2) print("\n",dept, 的,num+name,同學 您好” print("\n 你的BMI是:,round(BMI, 2)) #判斷BMI數值是否過輕/正常/過重 if BMI<18.5: print(〞 過輕!請吃多一點) elif (BMI>=18.5) and (BMI<=24): print(〞 穠纖合度正常!) elif BMI>24: print(〞 過重!請調整飲食習慣) 日 輸入你的系級:資管四B 輸入你的姓名:譚榕烜 輸入你的學號:409630356 請輸入身高:158 請輸入體重kg:50 資管四B 的 409630356譚榕烜 同學您好^ 你的BMI是:20.03 穠纖合度正常! 秒 過重 的情況 409630356計算BMI.ipynb ☆ 檔案 編輯 檢視畫面 插入 執行階段工具說明 + 程式碼 + 文字 #輸入系級+姓名+學號 dept=input("輸入你的系級:) name=input(“輸入你的姓名:) num=input("輸入你的學號:) #輸入身高+體重 h=float(input("\n請輸入身高cm:)) w=float(input(“請輸入體重kg:)) #開始計算BMI並且輸出值 BMI=w/((h/100)**2) print("\n",dept, “的”,num+name, 同學 您好**) print("\n 你的BMI是:,round(BMI, 2)) #判斷BMI數值是否過輕/正常/過重 if BMI<18.5: print(* 過輕!請吃多一點) (BMI>=18.5) and (BMI<=24): print(" 穠纖合度正常!) elif elif BMI>24: print(" 過重!請調整飲食習慣″) 輸入你的系級:資管四B 輸入你的姓名:譚榕恒 輸入你的學號:409630356 請輸入身高:158 請輸入體重kg:100 資管四B 的 409630356譚榕烜 同學 您好 你的BMI是: 40.06 過重!請調整飲食習慣
Answers
No answer yet
Login to post answer.
Login and Answer Question
Create New Account
Were you able to resolve your confusion?
Yes, all good!
Not really
Users viewing this question
are also looking at these questions 😉
Mathematics & Statistics
Undergraduate
over 3 years
微積分求解
Mathematics & Statistics
Undergraduate
about 4 years
這題看了很久,還是沒有看出個所以然 連題目都看不太懂 求解版上大神🥹