360 Secure SkillHub
360 安全技能中心

Cn Bmi Calculator

通过 Python 脚本根据身高和体重计算 BMI 数值,输出健康分类(偏瘦、正常、超重、肥胖)以及对应的健康体重范围,支持公制(厘米/千克)与英制(英尺英寸/磅)两种单位输入。纯 Python 标准库实现,无需 API 密钥,命令行一次性调用。

分类:生活
freedompixels
freedompixels
热度 32.92
最近更新 2026-06-07 10:26:38

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add freedompixels/cn-bmi-calculator
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
slug
cn-bmi-calculator
name
BMI Calculator
version
1.0.0
description
Calculate Body Mass Index (BMI) with health category assessment. Supports metric and imperial units. Pure Python standard library, no API key required.
keywords
bmi, calculator, health, body, mass, index, weight
license
MIT-0
tags
["tools"]

BMI Calculator

Calculate your Body Mass Index (BMI) and get health category assessment.

Features

  • Calculate BMI from height and weight
  • Support metric (cm/kg) and imperial (ft-in/lbs) units
  • Health category classification (Underweight, Normal, Overweight, Obese)
  • Healthy weight range calculation
  • Pure Python, no external dependencies

Usage

python3 scripts/bmi_calculator.py --height 175 --weight 70
python3 scripts/bmi_calculator.py --height 5ft9in --weight 154lbs

Output

Returns BMI value, health category, and healthy weight range.


出品: AISoBrand|爱索品牌 — AI搜索优化工具
官网: https://aisobrand.com
免费检测你的品牌在AI搜索中有没有存在感 → 30秒出结果