^ SyntaxError: invalid syntax . Following tutorial and can't figure out why this does not work.

2022.01.17 18:37 Skill-Additional ^ SyntaxError: invalid syntax . Following tutorial and can't figure out why this does not work.

I can't figure out why this python script does not work. I ran it through a linting tool and it mentioned
File "main.py", line 26 print(f"Your BMI is {bmi}"):
^ SyntaxError: invalid syntax
I just have no idea what this means, I don't see anything wrong with line 26.
When I execute the script it outputs nothing.

#!/usbin/env python3.6 # BMI = (weight in kg / height in meters squared) # Impreial version: BMI * 703 def gather_info(): height = float(input("What is your height? (inches or meters) ")) weight = float(input("What is your weight? (pounds or kilograms) ")) system = input("Are your mearsurements in metric or imperial systems? ").lower().strip() return (height, weight, system)
def calculate_bmi(weight, height, system='metric'): """ Return the Body Mass Index (BMI for the given weight, meight and measurement system. """ if system == 'metric': bmi = (weight / (height ** 2)) else: bmi = 703 * (weight / (height ** 2)) return bmi while True: height, weight, system = gather_info() if system.startswith('i'): bmi = calculate_bmi(weight, system='imperial', height=height) print(f"Your BMI is {bmi}") break elif system.startswith('m'): bmi = calculate_bmi(weight, height) print(f"Your BMI is {bmi}") break else: print("Error: Unknown measurement system. Please use imperial or metric.")
submitted by Skill-Additional to learnpython [link] [comments]

2022.01.17 18:37 neems260 Desk Building Supervisor

Desk Building Supervisor submitted by neems260 to Catswithjobs [link] [comments]

2022.01.17 18:37 sammus1495 I found some free kiddie furniture! I’m living my childhood dreams!

I found some free kiddie furniture! I’m living my childhood dreams! submitted by sammus1495 to AnimalCrossing [link] [comments]

2022.01.17 18:37 mahdiy_blicky Happy MLK day

Happy MLK day submitted by mahdiy_blicky to meme [link] [comments]

2022.01.17 18:37 AggressiveMarketing2 2022 Sport Vs Limited

Looking at a crosstrek and want the 2.5L so between the sport and limited. Wondering what your opinions are on the two. Just trying to decide if the better seats and led lights are worth it. Plus the better color secondary upper screen
submitted by AggressiveMarketing2 to Crosstrek [link] [comments]

2022.01.17 18:37 PuzzleheadedNotice7 Umm, miss, what are you doing?

Umm, miss, what are you doing? submitted by PuzzleheadedNotice7 to Sims3 [link] [comments]

2022.01.17 18:37 svanapps r/Bitcoin - Was very excited to see this at a local gas station today! I didn’t get a chance to check it out too much but will do so in the future.

Bitcoin - Was very excited to see this at a local gas station today! I didn’t get a chance to check it out too much but will do so in the future. submitted by svanapps to CryptoToFuture [link] [comments]

2022.01.17 18:37 TECHYIAC IndieHackers DAO

Hey IndieHackers!! Moyo here
I've been thinking about a way for the IH/ bootstrapped startups Community as a whole to come together to create value, been researching DAOs for a couple months and i feel like a DAO specifically geared towards providing value to Indie Hacker Projects, Value could be general Product Help(Code, design, legal and all), Advice and Probably funding. Kind of a sort of "incubator" for bootstrapped projects
There are tons of founders on Here with massive experience and can help new bootstrapped projects go down the right path
In terms of funding, if everyone is up for that, i'm thinking most Indie hackers don't need to raise tons and tons of money, so a sort of small crowdfund and using that to vote and fund the first set of founders.
For governance, maybe a one address one vote system?
This is more of an experiment to see what we can achieve together, i know there are a ton of questions in terms of legal liability and all but if other investment DAOs can get past this bet we can
Hop into the discord lets make something happen: https://discord.gg/BCTKg7gmSt
TLDR: How can we build the Y Combinator for Indie Hackers without needing VCs and infinite growth?
submitted by TECHYIAC to indiehackers [link] [comments]

2022.01.17 18:37 Rssl88 [Clan Recruitment - QQN3E] Kill 'em All.

[Clan Recruitment - QQN3E] Kill 'em All. submitted by Rssl88 to TapTitans2 [link] [comments]

2022.01.17 18:37 dragonball611 Mysterio. One of my favorites from my collection.

Mysterio. One of my favorites from my collection. submitted by dragonball611 to MarvelCrisisProtocol [link] [comments]

2022.01.17 18:37 ShadysDad Shady Cat NFT collection only on Opensea.

Shady Cat NFT collection only on Opensea. submitted by ShadysDad to NFTExchange [link] [comments]

2022.01.17 18:37 wubnub123 Some screenshots from my modded stalker anomaly

Some screenshots from my modded stalker anomaly submitted by wubnub123 to stalker [link] [comments]

2022.01.17 18:37 sirfrancisbuxton How do we think Robyn would handle a new wife? 🤔🤔🤔

Let's face it - the only real marriage left in SisterWives is Robyn and Kody's. But, according to Robyn - she did not sign up for monogamy and it's "stressing" her out (🙄🙄🙄 I don't believe that, but whatever).
She has said over and over again that she wants to live a plural lifestyle...
Well, I would like to call her bluff. Kody, Robyn wants a plural marriage, so you better go get another wife!! If this REALLY what you want, then let's see it Robyn!!
And, then, I might tolerate another season of Kody, his narcissism, and the Puppet Master Robyn.
How do I think she'd handle it? In the words of Dorinda Medley: "Not well, bitch!" 😅🤣🤣😅😆
submitted by sirfrancisbuxton to TLCsisterwives [link] [comments]

2022.01.17 18:37 CosmosMagazine The chemistry of the cricket ball

The chemistry of the cricket ball submitted by CosmosMagazine to cosmosmagazine [link] [comments]

2022.01.17 18:37 Ancient_Ice2422 how much skill points do you get I you get to prestige 10?

submitted by Ancient_Ice2422 to Demonfall [link] [comments]

2022.01.17 18:37 D1nkcool We've all been there

We've all been there submitted by D1nkcool to memes [link] [comments]

2022.01.17 18:37 Helenius Bring me the breastplate stretcher

Bring me the breastplate stretcher submitted by Helenius to PrequelMemes [link] [comments]

2022.01.17 18:37 Carpet-Early Is it normal that I continually have this desire to never work?

Hello all, so since high school, I have had this constant desire that I never really wanted to work and only wanting to expand upon my interests and hobbies and do them as much as I can.
Luckily, I did run into the financial independence movement and have learnt a lot from the financialindependence and Fire subreddits This IMO seems like the best way to go about my desires to not work.
But is it weird that I just never want to work at all?
submitted by Carpet-Early to careerguidance [link] [comments]

2022.01.17 18:37 princess_bex looking for a SD to take care of me🥺💕💖 26/F

looking for a SD to take care of me🥺💕💖 26/F submitted by princess_bex to SugarDaddyMeet_Sites [link] [comments]

2022.01.17 18:37 Juli0wO Bed room Home theater, stand height 36" Bed height 28" what y'all think. and yes I have to move the speakers for movie Time

Bed room Home theater, stand height 36 submitted by Juli0wO to TVTooHigh [link] [comments]

2022.01.17 18:37 Revolutionary-Dog714 Anecdote Regarding State of Property Crime

Recently a close friend of mine called me to say that his car was broken into in his locked parking garage at an apartment in Fremont. This was unfortunate for him, and I could relate as my car was stolen from a locked parking garage a few years prior in the UDistrict.
But the aftermath of the break in struck me more than the break in itself. He attempted to file a police report online with SPD. Unfortunately, the system told him to call the non-emergency hotline for the SPD. So he did. After hours on hold, the system informed him that "Due to staff shortages we are unable to process your call." While he was upset at this, he went on to call his insurance company. The insurance company then said they would not process the claim until he filed a police report. As a result, he had to drive a car with a broken windshield (a dangerous task) for hours that day due to his job constraints and family obligations. And it was not until days later that he was able to get the police on the phone.
While this seemingly low level crime is but one story of many in Seattle, it highlighted something that has a broader, lasting impact on those in our community. Especially the underprivileged. My friend was able to resolve his situation because he had the resources and time to do so. But many of our fellow community members do not. For every person that is unable to file a police report, unable to file their insurance claim, or unable to recover stolen property, that person suffers a loss. Both financially and emotionally. The time it takes to try and navigate a broken, underfunded system is time that is needed elsewhere. And sure on scale of one anecdote here it doesnt seem like a big deal. But this becomes a massive problem when faced with thousands of property crimes in Seattle. How many people in our community have been unable to get the police on the line? How many people went without transportation on a day like this because their insurance company would not process their claim until they got the police on the line? It is absolutely unacceptable.
I understand that the magnitude of crime in Seattle is massive. Especially property crime. But the refusal of police or the DA to prosecute property crimes (especially ones not targeting retail or financial institutions) just signals to opportunist criminals that they can get away with it. The refusal to prosecute these crimes or take any meaningful action to deter them does not just hurt our community as a whole, but it especially harms the people in our community that need protection the most. Regardless if you are republican, democrat, independent, or pro-police or whatever, you should not just accept a system that does nothing about mass injustice.
submitted by Revolutionary-Dog714 to SeattleWA [link] [comments]

2022.01.17 18:37 interoperabilitie Scene 0148

Scene 0148 A Forgotten Candle An Act of Forgetfulness Flames of the Living Room Vulnerability of Magical Objects Scrolls of Methods of Attack and Defense in the Solverse, The High Speed Slam Thunder Battle Axe, Dwarves of Doria The Redwood Chair of Mortimer's Desk Sacred Twigs from the Mother and Father Tree
submitted by interoperabilitie to Solverse [link] [comments]

2022.01.17 18:37 Johnny-Throttle Red sky at night, a Buffalo Bills delight.

Red sky at night, a Buffalo Bills delight. submitted by Johnny-Throttle to electricvehicles [link] [comments]

2022.01.17 18:37 Naraaaw I have a CR-6 SE and I having difficulty getting it levelled

I have a CR-6 SE and I having difficulty getting it levelled submitted by Naraaaw to Creality [link] [comments]

2022.01.17 18:37 zZONEDz Riot is mocking my suspension

Today is the 14th day i have been suspended and i was wondering the exact hour it ended. So i go into my email, search riot and try to find a suspension email. Nothing... 0, nada. Until i scroll a bit, and find riot games inviting me to play the new season, with all the new "cool" stuff they added and to watch their new cinematic.
I get that riot is a small indie company so it's hard that they email everyone they suspend... But at least don't mock the fact i can't do my placements :/
submitted by zZONEDz to leagueoflegends [link] [comments]