.png) [IMAGE SOURCE](https://goo.gl/images/HbqzGY) **RESPOSITORY:** [PYTHON, OPEN SOURCE RESPOSITORY](https://github.com/python) **WHAT YOU WILL LEARN:** - WHAT IS A BMI - WHAT A BMI CALCULATOR IS - FORMULA FOR SOLVING BMI - CODING A BMI CALCULATOR TO DETERMINE IF A MAN IS OVERWEIGHT **REQUIREMENTS:** - A COMPUTER SYSTEM/ PC/ SMARTPHONE - PYTHON SOFTWARE **DIFFICULTY:** BASIC **CONTENTS** WHAT IS BMI: BMI simply stands for BODY MASS INDEX. WHAT A BMI CALCULATOR IS: A BMI calculator is a calculator that is ised to detect if a man is overweight through his/her weight and height. FORMULA FOR SOLVING BMI: The formula is kg/m² where by kg is a persons weight in kilogram and m² is a person height squared. CODING A BMI CALCULATOR: Coding a BMI calculator is simply done by the steps below: IF NOT OVERWEIGHT: ``` name = "Kenechukwu" height_m = 3 weight_kg = 20 bmi = weight_kg / (height_m ** 2) print("bmi: ") print(bmi) if bmi < 25: print(name) print("is not overweight") else: print(name) print("is overweight") ``` OUTPUT:  This code is assigned to calculate a subject "Kenechukwu" to calculate his bmi and determine if he is overweight or not. A man is labelled overweight if his BMI is 25 or more. The code below shows our subject is not over weight now ill re-write the code to make our subject overweight and see IF OVERWEIGHT: ``` name = "Kenechukwu" height_m = 1 weight_kg = 500 bmi = weight_kg / (height_m ** 2) print("bmi: ") print(bmi) if bmi < 25: print(name) print("is not overweight") else: print(name) print("is overweight") ```  As you can see the bmi has been determined and clearly our subject is overweight. [PROOF OF WORK](https://gist.github.com/kenechukwu-2/810c74d986804a4b06cea318116e05ce) My other tutorials include: - [Creating a simple encryption key](https://steemit.com/utopian-io/@kenechukwu2/tutorial-creating-a-simple-encrytion-code-with-python-3-6) - [Creating a simple guessing game](https://steemit.com/utopian-io/@kenechukwu2/tutorial-creating-a-simple-guessing-game-f60b56fa2019f)
author | kenechukwu2 |
---|---|
permlink | tutorial-creating-a-bmi-calculator-to-determine-if-a-man-is-overweight-or-not |
category | utopian-io |
json_metadata | {"tags":["utopian-io","tutorials","steem","coding","wafrica"],"image":["https://cdn.steemitimages.com/DQmZ9m57rC2wZE8BnUKi9dApUUpeJVi3iuNxySLsieBVqAm/images%20(1).png","https://cdn.steemitimages.com/DQmec5FtxGnVDPudrEMkVxoZYuYtHNcJSJRVTZQdUbxJM5u/Screenshot_QPython3_20180812-123359.png","https://cdn.steemitimages.com/DQmRU9fo38daunp4WKB4Lk1AHm3geRS7jzx45kQRqsbURTL/Screenshot_QPython3_20180812-124056.png"],"links":["https://goo.gl/images/HbqzGY","https://github.com/python","https://gist.github.com/kenechukwu-2/810c74d986804a4b06cea318116e05ce","https://steemit.com/utopian-io/@kenechukwu2/tutorial-creating-a-simple-encrytion-code-with-python-3-6","https://steemit.com/utopian-io/@kenechukwu2/tutorial-creating-a-simple-guessing-game-f60b56fa2019f"],"app":"steemit/0.1","format":"markdown"} |
created | 2018-08-12 11:49:51 |
last_update | 2018-08-12 23:16:24 |
depth | 0 |
children | 5 |
last_payout | 2018-08-19 11:49:51 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.394 HBD |
curator_payout_value | 0.067 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 2,518 |
author_reputation | 1,373,218,176,262 |
root_title | "[Tutorial]CREATING A BMI CALCULATOR TO DETERMINE IF A MAN IS OVERWEIGHT OR NOT" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 67,945,199 |
net_rshares | 336,072,846,723 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
christoryan | 0 | 1,815,858,490 | 90.01% | ||
yuxi | 0 | 3,027,055,434 | 10% | ||
doryumira | 0 | 3,491,506,889 | 100% | ||
nexusprime | 0 | 1,900,868,374 | 100% | ||
angelveselinov | 0 | 1,775,156,168 | 100% | ||
minnowsupport | 0 | 46,602,414,098 | 0.8% | ||
rafalski | 0 | 7,825,723,825 | 20% | ||
bachuslib | 0 | 20,481,391,697 | 100% | ||
koh | 0 | 34,757,721,013 | 90.01% | ||
freezepeach | 0 | 32,686,427,256 | 71.86% | ||
gigpen | 0 | 953,943,221 | 100% | ||
leir | 0 | 1,882,623,676 | 50% | ||
valorforfreedom | 0 | 34,730,980,207 | 46.04% | ||
minnowhub | 0 | 68,290,006 | 1% | ||
saintjames | 0 | 1,717,308,969 | 100% | ||
johnroomusic | 0 | 5,124,189,082 | 100% | ||
greenorange | 0 | 605,432,593 | 100% | ||
omargalk | 0 | 603,644,426 | 100% | ||
cryptotours | 0 | 600,895,912 | 100% | ||
kenechukwu2 | 0 | 878,873,526 | 100% | ||
yalzeee | 0 | 3,831,162,999 | 100% | ||
sheilamae | 0 | 1,203,604,664 | 100% | ||
johangericke | 0 | 1,743,870,410 | 100% | ||
remora | 0 | 33,547,510,974 | 80.34% | ||
kettle | 0 | 601,908,791 | 100% | ||
zakludick | 0 | 13,897,726,390 | 100% | ||
damon9 | 0 | 601,214,654 | 100% | ||
luts | 0 | 1,985,864,689 | 100% | ||
aunglat99 | 0 | 602,384,988 | 100% | ||
mari-jen | 0 | 962,705,157 | 100% | ||
fairyfeet | 0 | 598,826,998 | 100% | ||
circuits | 0 | 110,659,713 | 90.01% | ||
chiioma | 0 | 436,657,562 | 100% | ||
reini137 | 0 | 693,270,023 | 100% | ||
duncankrista12 | 0 | 600,024,885 | 100% | ||
tegajames | 0 | 610,735,752 | 100% | ||
schoolofminnows | 0 | 35,349,237,549 | 84.34% | ||
marihuya | 0 | 601,624,708 | 100% | ||
zacanarchy143 | 0 | 603,165,381 | 100% | ||
mhmetu | 0 | 598,663,760 | 100% | ||
homecook | 0 | 2,266,923,717 | 100% | ||
steemchessboard | 0 | 129,153,000 | 100% | ||
johanludick | 0 | 598,776,334 | 100% | ||
dgi | 0 | 18,122,036,428 | 15% | ||
sbi6 | 0 | 1,630,066,578 | 1% | ||
alexsandroe | 0 | 600,931,576 | 100% | ||
rockyridge | 0 | 120,410,119 | 100% | ||
africansafaris | 0 | 120,410,100 | 100% | ||
strayanimals | 0 | 120,405,522 | 100% | ||
forballies | 0 | 120,405,373 | 100% | ||
trollogy | 0 | 120,405,302 | 100% | ||
merrycrab | 0 | 120,405,216 | 100% | ||
mahala | 0 | 120,405,078 | 100% | ||
fruitjuice | 0 | 121,016,256 | 100% | ||
hobopunks | 0 | 121,016,141 | 100% | ||
dungeonmaster | 0 | 121,012,834 | 100% | ||
heclgang | 0 | 677,130,186 | 100% | ||
joinandskate | 0 | 120,950,876 | 100% | ||
onyekah | 0 | 609,454,233 | 100% | ||
piquet | 0 | 268,435,330 | 100% | ||
jacekw.dev | 0 | 163,331,375 | 100% | ||
kd-neeley | 0 | 1,040,317,345 | 100% | ||
steempunks-live | 0 | 7,928,322,895 | 100% |
<p>Congratulations! This post has been upvoted from the communal account, @minnowsupport, by kenechukwu2 from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the <a href="https://discord.gg/HYj4yvw"> Peace, Abundance, and Liberty Network (PALnet) Discord Channel</a>. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.</p> <p>If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=minnowsupport&vesting_shares=102530.639667%20VESTS">50SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=minnowsupport&vesting_shares=205303.639667%20VESTS">100SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=minnowsupport&vesting_shares=514303.639667%20VESTS">250SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=minnowsupport&vesting_shares=1025303.639667%20VESTS">500SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=minnowsupport&vesting_shares=2053030.639667%20VESTS">1000SP</a>, <a href="https://v2.steemconnect.com/sign/delegateVestingShares?delegator=&delegatee=minnowsupport&vesting_shares=10253030.639667%20VESTS">5000SP</a>. <br><strong>Be sure to leave at least 50SP undelegated on your account.</strong></p>
author | minnowsupport |
---|---|
permlink | re-tutorial-creating-a-bmi-calculator-to-determine-if-a-man-is-overweight-or-not-20180812t122542z |
category | utopian-io |
json_metadata | "{"app": "beem/0.19.50"}" |
created | 2018-08-12 12:25:42 |
last_update | 2018-08-12 12:25:42 |
depth | 1 |
children | 0 |
last_payout | 2018-08-19 12:25:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,694 |
author_reputation | 148,902,805,319,183 |
root_title | "[Tutorial]CREATING A BMI CALCULATOR TO DETERMINE IF A MAN IS OVERWEIGHT OR NOT" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 67,948,142 |
net_rshares | 0 |
Congratulations @kenechukwu2! You have completed the following achievement on Steemit and have been rewarded with new badge(s) : [](http://steemitboard.com/@kenechukwu2) Award for the number of upvotes <sub>_Click on the badge to view your Board of Honor._</sub> <sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub> **Do not miss the last post from @steemitboard:** [SteemitBoard and the Veterans on Steemit - The First Community Badge.](https://steemit.com/veterans/@steemitboard/steemitboard-and-the-veterans-on-steemit-the-first-community-badge) > Do you like [SteemitBoard's project](https://steemit.com/@steemitboard)? Then **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
author | steemitboard |
---|---|
permlink | steemitboard-notify-kenechukwu2-20180822t222938000z |
category | utopian-io |
json_metadata | {"image":["https://steemitboard.com/img/notify.png"]} |
created | 2018-08-22 22:29:36 |
last_update | 2018-08-22 22:29:36 |
depth | 1 |
children | 0 |
last_payout | 2018-08-29 22:29:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 910 |
author_reputation | 38,975,615,169,260 |
root_title | "[Tutorial]CREATING A BMI CALCULATOR TO DETERMINE IF A MAN IS OVERWEIGHT OR NOT" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 69,059,565 |
net_rshares | 0 |
I thank you for your contribution. Here are my thoughts; * Tutorials should teach the user something unique, shouldn't show ubiquitous content-creation and replicate concepts which can be found over the internet with great ease. What you've shown in your tutorial can be described as "Mathematical Operations and Conditionals in Python with BMI Calculator Example", which meets my statement at above. * Your tutorial is very messy. The main reason behind that is formatting. I highly suggest you to use code blocks to show code, instead of plain text. That helps readability. If you don't know how to use code blocks, you can use the [Markdown Styling Guide](https://guides.github.com/features/mastering-markdown/). * The volume of your tutorial is too sparse. It is preferable to have substantial concepts up to 4-5. ---- Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category. ---- Need help? Write a ticket on https://support.utopian.io/. Chat with us on [Discord](https://discord.gg/uTyJkNm). [[utopian-moderator]](https://join.utopian.io/)
author | yokunjon |
---|---|
permlink | re-kenechukwu2-tutorial-creating-a-bmi-calculator-to-determine-if-a-man-is-overweight-or-not-20180812t210441475z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"links":["https://guides.github.com/features/mastering-markdown/","https://join.utopian.io/guidelines","https://support.utopian.io/","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"} |
created | 2018-08-12 21:04:42 |
last_update | 2018-08-12 21:07:51 |
depth | 1 |
children | 2 |
last_payout | 2018-08-19 21:04:42 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 6.333 HBD |
curator_payout_value | 2.108 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,188 |
author_reputation | 19,266,807,595,513 |
root_title | "[Tutorial]CREATING A BMI CALCULATOR TO DETERMINE IF A MAN IS OVERWEIGHT OR NOT" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 67,989,157 |
net_rshares | 6,105,692,933,557 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
espoem | 0 | 16,865,610,454 | 15% | ||
utopian-io | 0 | 6,085,031,130,377 | 3.93% | ||
zapncrap | 0 | 1,745,210,685 | 5% | ||
curx | 0 | 1,731,114,969 | 5% | ||
mops2e | 0 | 319,867,072 | 10% |
Thanks for the corrections ill take note of it on my next post
author | kenechukwu2 |
---|---|
permlink | re-yokunjon-re-kenechukwu2-tutorial-creating-a-bmi-calculator-to-determine-if-a-man-is-overweight-or-not-20180812t232252669z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"app":"steemit/0.1"} |
created | 2018-08-12 23:23:00 |
last_update | 2018-08-12 23:23:00 |
depth | 2 |
children | 0 |
last_payout | 2018-08-19 23:23:00 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 62 |
author_reputation | 1,373,218,176,262 |
root_title | "[Tutorial]CREATING A BMI CALCULATOR TO DETERMINE IF A MAN IS OVERWEIGHT OR NOT" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 67,998,349 |
net_rshares | 4,442,363,782 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
yalzeee | 0 | 4,442,363,782 | 100% |
Thank you for your review, @yokunjon! So far this week you've reviewed 1 contributions. Keep up the good work!
author | utopian-io |
---|---|
permlink | re-re-kenechukwu2-tutorial-creating-a-bmi-calculator-to-determine-if-a-man-is-overweight-or-not-20180812t210441475z-20180814t133748z |
category | utopian-io |
json_metadata | "{"app": "beem/0.19.42"}" |
created | 2018-08-14 13:37:48 |
last_update | 2018-08-14 13:37:48 |
depth | 2 |
children | 0 |
last_payout | 2018-08-21 13:37:48 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 111 |
author_reputation | 152,955,367,999,756 |
root_title | "[Tutorial]CREATING A BMI CALCULATOR TO DETERMINE IF A MAN IS OVERWEIGHT OR NOT" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 68,166,196 |
net_rshares | 0 |