How do I use a variable from a previous def in a new def?

2021.11.30 05:21 _jessicalol How do I use a variable from a previous def in a new def?

I asked the user to input their weight in pounds and then i converted it to kilograms. i asked the user to input their height into feet and inches and then i converted it to centimeters. Is there a way to call or use the data as centimeters and kilograms in a new function? Here is my code so far, i need help with the determine_bmi.

def get_float_input(prompt): while True: try: return float(input(prompt)) except ValueError: print('Invalid inputs - must be a number') def pounds_kilograms(): pounds=get_float_input("What is your patient's weight in pounds? ") kilograms=pounds/2.2046 rounded_kilograms= round(kilograms, 2) print(f"Your patient's weight in kilograms is {rounded_kilograms} kg." ) pounds_kilograms() def height_centimeters(): height_ft= get_int_input("What is your patient's height in feet? ") height_in= get_int_input ("What is your patient's height in inches? ") height_in += height_ft * 12 height_cm= round(height_in * 2.54, 1) print(f"Your patient's height is {height_cm} cm.") height_centimeters() def determine_bmi(): bmi= pounds_kilograms / (height_centimeters)**2 *10000 print("Your Body Mass Index (BMI) is: ",round(bmi,2)) if bmi <= 18.5: print("You are considered underweight.") elif bmi > 18.5 and bmi < 25: print("You have a healthy, normal weight.") elif bmi > 25 and bmi < 30: print("You are considered overweight.") elif bmi > 30: print("You are considered obese.") else: print("There is an error with the number you entered.") determine_bmi() 
submitted by _jessicalol to learnpython [link] [comments]

2021.11.30 05:20 a_last_air My name is dog

My name is dog submitted by a_last_air to ilikthebred [link] [comments]

2021.11.30 05:20 BlackViperMWG What is the diffence between air fryer and standard hot air oven?

submitted by BlackViperMWG to TooAfraidToAsk [link] [comments]

2021.11.30 05:20 fedekreisau Thanks, i hate water

Thanks, i hate water submitted by fedekreisau to TIHI [link] [comments]

2021.11.30 05:20 Codex_youtube1 We Rise UP (2021) - WeRiseUP is a powerful documentary that asks the questions: What is a successful life? What is a successful human civilization? [00:02:18]

submitted by Codex_youtube1 to Documentaries [link] [comments]

2021.11.30 05:20 raaner12 Datos clave sugieren que la corrección a corto plazo del mercado de criptomonedas ha terminado

submitted by raaner12 to CryptoMonedas [link] [comments]

2021.11.30 05:20 2Cha1n_ Cant close my m-Asset position

Hey guys, I am relatively new to the mirror protocol and I got a few mVIXY assets. After a spike in the VIX Index I wanted to close my position before I get liquidated, but the site would not let me close/burn my m-assets. I went with the delta neutral and I had a good experience so far. But now the withdraw fails and I have to pay 0.30 UST every time I try to close it. I linked a screenshot where u can see the error message... PLS HELP
submitted by 2Cha1n_ to Mirror_Protocol [link] [comments]

2021.11.30 05:20 OofDabOofing Something that I've noticed about Edge tonight (Minor RAW SPOILERS)

Edge was wearing a Temple of the Dog t-shirt!
If you don't know who they are then I'll gladly explain. They were a grunge superband consisting of Pearl Jam and Soundgarden members. This band was a tribute to their friend who sadly passed away.
The frontman was Chris Cornell, who also performed a song on this album with Pearl Jam lead singer Eddie Vedder.
submitted by OofDabOofing to SquaredCircle [link] [comments]

2021.11.30 05:20 WaterApocalypse Big Night for NBA Big Men

If you're seven feet tall and have an accent in your name, you had a fuckin game last night
Jonas Valančiūnas dropped 39 with 7-8 3P
Nikola Vučević dropped 30 with 6-6 3P
Nikola Jokić went MVP mode and dropped an efficient 9-14 FG with 15 rebounds
They all won
Christian wood went 9-17 with 21 REBOUNDS saving Silas career
Jusuf Nurkić dropped an efficient 9-13 with 10 rebounds
KAT dropped 32 with the dub for the wolves
Hell, even Porziņģis had a poster
submitted by WaterApocalypse to nba [link] [comments]

2021.11.30 05:20 bootieshits Rate Actress Troian Bellisario

Rate Actress Troian Bellisario submitted by bootieshits to VindictaRateCelebs [link] [comments]

2021.11.30 05:20 TaaweTah All the best Amazon Cyber Monday deals you can shop now

All the best Amazon Cyber Monday deals you can shop now submitted by TaaweTah to Sales_and_Deals [link] [comments]

2021.11.30 05:20 Simple_Requirement79 Do I like him? Sexual incompatible

About 4 months ago I met a guy online and flew from California to New Jersey to meet him. (He’s originally from California but went to New Jersey for grad school)
We have great talks, he treats me extremely well and he’s honestly been my best friend during these past couple months.
During my weekend in New Jersey I realized that we were sexually incompatible. However, he’s only had sex with one person in a 6 year year relationship and ive never really had a partner to have sex with to know what I like. I’ve had sex with 9 guys multiple times and only one has made me orgasm.
I’m not sure how I feel about him though. He’s coming over for 2 weeks for Christmas. I’m not sure why I feel off about him sometimes. It could be the sex that creates a mental block because literally everything else is perfect. I love everything about him except the sex. I’m starting to get anxiety from him coming and spend the weekend with him. I get huge amounts of worries and anxiety about my feelings towards him whenever I think about us having sex again bc of how incompatible I felt we were. However, I then express my worries and he reassures me that we will work on it and he’s willing to go above and beyond for me and us and i feel better for a couple days then i feel it again. I text him everyday. He always tells me I’m enough. I do feel like I reciprocate the love and attention he gives me. I feel calm and relaxed around him and like I can be myself.
They’re times where I love him and I miss him and others where I miss my space and just want to be alone. There’s times where I’m excited to do life with him and other times I wonder if our sexual incompatibility is a deal breaker. I’ve always been pretty independent and I’ve been treated pretty badly by men so sometimes I do feel smothered bc of how loving he is. I definitely do feel like I have some avoidant attachment styles.
He is playing on moving back to California once he’s done with his master’s. and we’ve only hung out in person one weekend. I’m I self sabotaging this by overthinking this? Is one weekend too little even though we talk everyday? This is my first time in a healthy and loving relationships? Am I just not used to this?
submitted by Simple_Requirement79 to relationship_advice [link] [comments]

2021.11.30 05:20 meSuPaFly Unable to upgrade metal storage

My metal storage appears to be maxed out at 8500. My metal storage building has been upgraded as much as possible. I'm unable to upgrade HQ because it requires 15000. Any advice?
submitted by meSuPaFly to ZombieGunshipSurvival [link] [comments]

2021.11.30 05:20 Any_Principle8028 22M looking for someone to snapchat jasonrakya

22M looking for someone to snapchat jasonrakya submitted by Any_Principle8028 to gaysnapchatn00ds [link] [comments]

2021.11.30 05:20 Overall_Elk6460 #ज्ञानगंगा_में_तत्वज्ञान Sant Rampal Ji Maharaj📗गीता ज्ञान दाता के अनुसार तत्वदर्शी संत की पहचान क्या है? जानने के लिए अवश्य पढ़ें पुस्तक ज्ञान गंगा।

#ज्ञानगंगा_में_तत्वज्ञान Sant Rampal Ji Maharaj📗गीता ज्ञान दाता के अनुसार तत्वदर्शी संत की पहचान क्या है? जानने के लिए अवश्य पढ़ें पुस्तक ज्ञान गंगा। submitted by Overall_Elk6460 to SantRampaljimaharaj [link] [comments]

2021.11.30 05:20 URM00000M I dont feel important enough to be missed or cried about.

submitted by URM00000M to SelfHate [link] [comments]

2021.11.30 05:20 melaniejane25 Best way to prep a heavily dimpled floor (in areas) for laying laminate? I'm thinking skimming with a self-levelling compound, but could we get away with a patch solution?

submitted by melaniejane25 to DIYUK [link] [comments]

2021.11.30 05:20 RavendeGaming INT][PC][Clan] Join Ravende! A growing gaming community!
We are a fast growing gaming community, with our roots stemming from Gmod in 2014. Our Warframe clans consist of 3 clans "Ravende", "Ravende Academy" and "Ravende Elite" with 4 allied ghost clans. Our first warframe clan was established in 2020. Our dojo was one of the featured dojos in Summer 2021!
Interested, not quite decided? Visit our discord! We will answer all your enquiries.
Discord link: or
submitted by RavendeGaming to warframeclanrecruit [link] [comments]

2021.11.30 05:20 Clean-Twist7074 Lightheaded and craving sweets

I started on .5 mg in August 1mg 2 weeks ago. I was never a “sweets” person, until now. Has anyone else noticed a sugar craving? Also on 1mg dose I feel very weak and lightheaded when I get up and walk. Sometimes I have to sit back down. I would like to start working out again but feel too weak to do it yet. Have these issues come up for anyone else? Just curious-
submitted by Clean-Twist7074 to Ozempic [link] [comments]

2021.11.30 05:20 Ok_Bag7832 21[F4M] hi I am looking for some new friends and someone want To trade On SC: taniaschindler

submitted by Ok_Bag7832 to FreeNudesForYou [link] [comments]

2021.11.30 05:20 theearthisasphere Netflix: Magic Medicine - Follows UK Imperial College first clinical trial

submitted by theearthisasphere to PsilocybinMushrooms [link] [comments]

2021.11.30 05:20 kantannakoto Being lucky with the 50/50 for once. Finally got the queen’s C1

Being lucky with the 50/50 for once. Finally got the queen’s C1 submitted by kantannakoto to EulaMains [link] [comments]

2021.11.30 05:20 Simple-War3485 👑 KING DOLPHIN BSC 🐬 Liq locked 💰 Active devs 🐬 Active Developers with great community 🚀 Relaunching right now with one of the best solidity coders in BSC 🔮 Don’t miss out on this next big gem!!!

💖 Wellcom to KING DOLPHIN BSC 🐬


All Floki coins must bow to the one true leader,KING DOLPHIN BSC 👑 $KDB

All loyal subjects of the KING DOLPHIN BSC will be rewarded by his majesty, with great rewards given back to the holders of his tokens. 👑

🐬 An amazing lottery feature will give 1 lucky holder huge prizes every week rewarding the loyalty of his noble subjects

🔹Lottery feature:

4% of each buy, and 6% of each sell transaction is automatically sent to the lottery wallet this feature allows for 24H giveaways to holders of the token

💚 Jonh us TG now......

🌎 Telegram:

🔰 Contract is Renounced

🚀 Total supply:

🔥 Burned : 30%

🔒Liquidity Locked

🎯 Tax : 10%


🐳 Anti-Whale Mechanisms

🎯 Pancake Swap :


🎯 Deeplock: Lock LP

🌟Some of our utilities:

🔹6. Release Our Own Nft Marketplace
Despite us being a Binance Smart Chain project that doesn't mean to say we do not have a future and want to broaden out. In the future we are very interested in making our own NFT Marketplace since we believe the current ones out there are not upto par and have ridiculous fees for their not so great service, we want to make a marketplace with the perfect balance.

🔹7. Release Debit Cards, Using Tokens To Make Purchases.
This is most likely a long to very long term goal, however our plans are eventually to be able to release prepaid MasterCard debit cards which are prepaid via KING DOLPHIN BSC. Essentially you would deposit $KDB into your account, upon making a purchase with the card it will make the transaction using your KING DOLPHIN BSC balance. This is obviously a long term goal for the team and we do not know the most about the partnerships which are/can be made with MasterCard however when we feel the time is right we will begin to work on this project.
submitted by Simple-War3485 to SatoshiBets [link] [comments]

2021.11.30 05:20 dahliatine 19F - looking for (hopefully) long term friends

my friendslist is getting more and more quiet by the day.. partly due to me cutting out toxic people and the lack of people who actually seem to care. back again, trying to find a true friend.
i'm 19 and i'm in australia but i'm mainly looking for just online friendships. pretty introverted, though pretty open online. i swear a lot but keeping it down for this post. have a fair selection of terrible jokes. i'm also quite cringe in general, but i'd say more the funny kinda cringe.
i'm into video games, nature, music and photography. i've also had a massive change in style to goth/alt so i'm into fashion/outfits too now. also have 2 cats.
looking for a long term friend who won't ghost after 2 days. male or female. around my age (18-25.) someone who cares just as much as i care about them. someone who isn't dry. someone who's willing to put up with my jokes. not looking for anything more than friends.
send me a pm if you think we could click! tell me about yourself, your interests etc. c:
submitted by dahliatine to MakeNewFriendsHere [link] [comments]

2021.11.30 05:20 roooit newCRYPTOlisting: Plug Chain (PLUGCN) now listed on Hotbit

newCRYPTOlisting: Plug Chain (PLUGCN) now listed on Hotbit
You heard it first here! Plug Chain (PLUGCN) is now available for purchase or trade on Hotbit
Plug Chain (PLUGCN) Price $0.079610163114
Price change (24 Hrs) 1.0%
24 Hrs Low / 24 Hrs High $0.078667881133 / $0.087388507791
Trading Volume 24 hrs $7,439,137
Market Cap
Total Supply 100,000,000,000 Plug Chain (PLUGCN)
Plug Chain price today is $0.079610163114 with a 24-hour trading volume of $7,439,137. PLUGCN price is up 1.0% in the last 24 hours. It has a circulating supply of 0 PLUGCN coins and a total supply of 100 Billion. If you are looking to buy or sell Plug Chain, LBank is currently the most active exchange. The Plug Chain network, which was launched by Chinese developers in August 2021, is an extensible intelligent contract platform that enables NFT development on the main network, and DEX construction on the secondary network. It is planned that the team will complete one-click token generation, as well as create standard contracts, with a touch of the button. Future development efforts will focus on the Oracle network protocol. The Oracle protocol is expected to host large amounts of data in 2023, allowing blockchain data to be seamlessly integrated with real-world information, allowing developers to easily build decentralized applications on the Plug chain with higher efficiency and lesser effort.
submitted by roooit to newCRYPTOlistings [link] [comments]