360 Secure SkillHub
360 安全技能中心

Cn Bmi Calculator

核心功能:根据身高体重计算BMI,支持公制(cm/kg)和英制(ft-in/lbs)单位,输出BMI数值、健康类别及健康体重范围,无外部依赖。典型场景:个人健康自测、健身体重管理等。输入为带参数的命令行指令,传入身高体重值,直接返回健康评估结果。

freedompixels
freedompixels
热度 45.60
最近更新 2026-06-07 10:26:38
分类:生活依赖:代码执行应用场景:健康

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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秒出结果