BMI Calculator

1.สร้าง project ไปที่ drive d:\python แล้วคลิกขวา new file แล้วตั้งชื่อ bmi.py 2.เปิด bmi.py ด้วยโปรแกรม vs code แล้วแก้ไขโค้ดดังนี้   in_hight=float(input(“ส่วนสูง:”)) in_weight=float(input(“น้ำหนัก:”)) #เปลี่ยนส่วนสูงเป็นเมตร

Read More