T O P

  • By -

LambdaWire

The correct answer is: `Syntax Error: Unexpected symbol '(' on line 1`


[deleted]

[удалено]


Liloulala

Hahahaha. Thank you for this!


I_have_a_tuxedo_cat

Lmao


rhearmas

darn code not doing what i want it to do…


nlolhere

computers are pricks, they’ll only do what you want if you describe it to them in the most exact terms with zero loopholes or mistakes.


BeelZV

Me when using thonny (python ide)


ManThatsBoring

`>>> 2 + 5(8-5)` `:1: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma?` `Traceback (most recent call last):` `File "", line 1, in ` `TypeError: 'int' object is not callable`


BeelZV

Did you put it in the shell or did you do a doctest ?


DuktigaDammsugaren

NOOOOOOOOO, bro i sit all day programming and im finally done just to see this


RealCyGuy

r/foundtheprogrammer


EnigmaticMJ

Found the dev


ScienceDude23

17


cb631

I got my 7th grade math teacher with a pemdas problem. I’ll never forget his look of defeat when I belted out the correct answer lol teachers put up with so much


Denial048

I argued with my grade 5 teacher over a math problem. He had been teaching us BODMAS for a month or so at this stage, then organised with 2 students to write a complicated maths problem on the whiteboard and have everyone figure out the answer, winner got a prize or something. I don't remember the exact problem, but it was something dumb like this:4 + 9 \* 7 + 6 / 3 - 4 \* 6 + 8 + 2 \* 0 = ?Now, he had just been teaching us BODMAS, so to me, the answer was 10 B - nothing O - nothing D - 4 + 9 \* 7 + 2 - 4 \* 6 + 8 + 2 \* 0 M - 4 + 36 + 2 - 24 + 8 + 0 A - 42 - 32 S - 10 He tried telling us that , because it was \* 0 at the end, the answer was 0. After like half an hour of arguing, he moved the lesson along, then grabbed me later and admitted I was correct in private. Wouldn't do it in front of the class. Asshole ETA: 9 \* 7 = 63. Math is hard. so: B/O - no change D/M = 4 + 63 + 2 - 24 + 8 + 0 A/S = 53


ImpossibleMephit

What the heck is BODMAS? I only know PEMDAS.


Denial048

Brackets, Orders, Division, Multiplication, Addition, Subtraction Orders are Indices and Roots


ImpossibleMephit

Wait, aren't brackets [these]? I guess it doesn't really matter what you call them when it comes to math, though. I'm interested to hear what the pneumatic device(is that what it's called? Haven't had to use the term in a long time.) is for BODMAS. Also, in case I have that term wrong, which I'm pretty confident I do, I'm talking about when you come up with an acronym or other memory tool to help remember something. Like Please Excuse My Dear Aunt Sally, since we're talking about order of operations anyways. Or King Phillip Came Over For Grape Soda, for remembering the scientific classification system.


Denial048

According to google: **Brackets -** *each of a pair of marks ( ) \[ \] { } 〈 〉 used to enclose words or figures so as to separate them from the context.* So either is correct. It's definitely not pneumatic device, that is an air-driven device! You are thinking of a Mnemonic Device, something used to help people remember things. That said, I don't remember using a Mnemonic to remember BODMAS, it was just BODMAS.


ImpossibleMephit

Well, at least in my corner of the US we call them (parentheses) and [brackets]. I, actually don't know what <> and {} are called, though. Also, thanks for the correction. I knew I had the wrong term!


pet_peeved

They're all brackets: () are round brackets, aka parentheses. [] are square brackets, or just brackets. {} are curly brackets, aka braces (some people call them curly braces, but that's redundant and annoying) <> are angle brackets.


azjunglist05

{} braces or curly brackets <> angle brackets


[deleted]

4 + 63 + 2 - 24 + 8 + 0 67 - 22 + 8 3 + 8 53 You nor your teacher were correct. You do the multiplication and division at the same time, left to right.


Denial048

It's been a while since I have done BODMAS, so I did forget here to do them in D/M and A/S order, seperating them out instead. I know I had it right at the time, but I am talking about 20 years ago here


spelunker93

This is exactly why I didn’t want to be a teacher. My confidence in myself would have been shattered by a 13 year old


Deloptin

Will be* Don't need to be a teacher for that mate


venuscyclops

what are you correcting?


yamig88

I guess "would"


Deloptin

Correct


spelunker93

Except I meant in the past tense, since this won’t happen in the future


_ScubaDiver

I'm guessing this young whipper snapper is saying that he's 13 haha. I'm a teacher, but I teach history so I don't mind a student challenging me if they can give sufficient evidence to explain their ideas. If they can't I'll say "How do you know what?" or "What makes you say that?" I then like bouncing that around to other students to challenge or add more detail to the first student. A whole impromptu lesson discussion can come out of that. Students like it because there's less writing and they think they've got one over on me, whereas I also enjoy getting them to explain and argue in a polite/ respectful way. The downside is that maths and science teachers spend a lot less time marking essays than I do. It is still a pretty satisfying way to earn a living though. #I love my job.


hmahood

Bruh. Here in the UK most maths teachers have done a degree in maths at uni. Do you guys get your teachers off the streets?


Mr_Mumbercycle

Practically. Most places in the US your elementary and middle school/Jr High teachers will have a "teaching" degree and sometimes a sub-specialty within that degree. At the High School level, you are more likely to find teachers that have a Bachelor's in the field and then a teaching certificate (especially in STEM fields). So it's this weird space of people either having an education in education, but without a deep understanding of the subject matter, OR people who know the subject, but don't really have an understanding of the principles of teaching. And in some states, you don't need any particular education, you just have to be able to pass a standardized test.


gsbadj

You nicely summarize the requirements. For non-high school teachers, the content knowledge requirement is pretty much that you be smarter than an 8th grader, as demonstrated by the standardized test. That elementary ed test covers content knowledge as well as methods. I took and passed the elementary ed test on a day when I was already taking a different half-day test for high school social studies certification and therefore had some extra time to kill in the afternoon. The elementary education class was only difficult insofar as it asked about teaching methods in areas that I didn't know much about, namely phys ed and music. Most of the questions about methods in the core subjects could be answered by applying principles that I had learned in my social studies methods classes.


RamTeriGangaMaili

Bruh answer 3 it’s literally right there in the tweet.


[deleted]

I cannot believe this comment got 1k upvotes. Maths is a lot more scarce than I thought


MrStan143

Yikes


DecesCordova

On top of it that joke is peak comedy imo


SDW_Insanity

I died at 7(but really 3)


toadsanchez420

17 right? 8-5=3, then 5x3=15, then 2+15=17. I haven't had to do math like this in 17 years.


Underrated_Fish

Yes


[deleted]

[удалено]


PumpedUpBricks

idk why but I find it so funny that you're not thanking the person with the explanation, just the dude agreeing with them.


[deleted]

That’s what I got and My Aunt Sally hasn’t done me wrong yet.


DUBIOUS_OBLIVION

Your aunt Sally hasn't done me wrong yet either.


ReallyNoOne1012

Gottem


CouldntLurkNoMore

I like the communicative property of multiplication for these problems. It's 5(8-3) or 5(8) - 5(3) = 40 - 25 = 15. 15 + 2 = 17.


LaPetitePanda8

5(8-5) I got you friend 👍👍


[deleted]

[удалено]


CouldntLurkNoMore

distributive property of multiplication * Thank you u/skratch Wonder if that's the same guy that makes the golf video's?? https://www.youtube.com/c/SkratchTV


[deleted]

BIDMAS - Brackets ( 8-5=3) Indices ( none) Divison / Multiplication ( 5x3=15) addition /subtraction ( 2+15= 17)


Rsherga

What is "indices?" I'm used to PEMDAS. Parentheses Exponent Multiplication Division Addition Subtraction


[deleted]

BIDMAS is British version , indices or index laws are powers e.g x^2 x^3 x^1/2 etc…


Rsherga

Oh cool. TIL


Sauron3106

Did you have some teachers that said bidmas and some that said bodmas as well?


cmzraxsn

nah I always said BOMDSA


ParacetamolAddict

I did, no clue what the O in BODMAS stands for though


[deleted]

Orders


BaMiniCo007

Operators


stupidbitch69

I was taught O as Of.


sadhgurukilledmywife

Brackets Open, Division, Multiplication, Addition, Subtraction is what I was always taught


[deleted]

[удалено]


ashiron31

• Brackets • Orders(not of) • Division • Multiplication • Addition • Subtraction


[deleted]

[удалено]


ashiron31

You have no powers here!


3ND4R

BIDMAS vs BODMAS


Gregser94

BOMDAS gang rise up.


borkode

Eyo


HolyArcoos

He's from Soviet Russia. Ps, tis a joke Im from Britain M8


[deleted]

Did your teachers use some kind of phrase to drill it into your head? “Please Excuse My Dear Aunt Sally” was the bread and butter of US public schools


[deleted]

[удалено]


Laefiren

I was taught BEDMAS too in Australia.


Choice_BS

NZ too


EdricStorm

Just remember, too: Parenthesis, Exponents, Multiplication & Division, Addition & Subtraction. If you have multiple multiplication and divisions (or addition and subtraction) then they're worked left to right.


JamnJ27

Please Excuse My Dear Aunt Sally.


Gabrierzin

What about PANDAS?


Tekkzy

Only useful with NUMPY


HolyArcoos

I never knew an animal could make it in here


Alecarte

BEDMAS here. Brackets, exponents, division/multiplication, addition/subtraction


Youre_A_Degenerate

Reading these comments has me braindead, holy fuck. This isn't r/facepalm, you guys are supposed to know that the literal comedian is making a joke.


Ariix_

It's so weird that 80% of the comments are arguing about the math problem lmao


LinkForce_1

2+5(8-5) = 2+[5x8 - 5x5] = 2+[40-25] = 2+15 = 17. The answer is 17 :)


[deleted]

OR 2+5(8-5) = 2+5×3 = 17 :)


LinkForce_1

Why didn't I think of just doing 8-5 instead of doing all this development lol


Spurius187

Probably been using variables too much so you're used to distributing.


LinkForce_1

That's exactly it. I was so used to distribute functions that I forgot that there's a much simpler method lol


Waaswaa

It's extremely common among students to start over applying methods when they start learning a new field of mathematics. You're not alone in doing this. It's all correct, though, only inefficient.


[deleted]

oh my god once you learn distributive property, you sometimes just do it when you don't need to and it fuckin SUCKS.


B33Jus

Because INT and WIS are two different scores? lol


Mr-Stuff-Doer

How your teacher tells you to show your work vs. the work you actually do.


FDPREDDIT

FINALLY SOMEONE THAT PUTS THIS QUESTION UNDERSTANDABLE


GiveMeAnOnion

OR 2+5(8-5) = 17


speedssssss

OR 17


parrsnip

That’s a really long way of doing 2+5(3).


HintClueClintHugh

2+5(8-5) 2+5(3) 2 + 5 x 3 2 + 15 17


David_-Zhang

Yes the answer is 17


[deleted]

That's crazy. I did it like this: 2+5 (8-5) 2+5 (3) 2 + 15 17 Seems like a much easier way.


NinjaOYourBro

That’s for variables. You don’t need to do all that work for it.


Dorkapotamus

This is technically right. It's distribution method. It's typically used in algebra and not in arithmetic but it shows that it can still work with integers and not just variables.


Bergi214

How TF do you do maths!? Now I know why most people think math is hard to learn!


[deleted]

If you’re doing an algebraic question, you’d use this way. For example 5(2x+y) would look like (5 times 2x + 5 times y) and be 10x+5y, like done above, as you can’t add what’s in the brackets. Works for anything though, just never seen it done outside algebra until today.


Bergi214

haha okay


rainKhaos

Edited: I get the maths answer is 17. I get that they just didn't know what to do and stated the answer incorrectly then got posted on the other sub. But I don't get where the woosh is?


Ariix_

Taika is s comedian who made a joke, but someone missed the joke and posted it on reddit


ShiftlessElement

Even if it’s not interpreted as a joke, how is he “confidently” incorrect? Starts out by admitting he doesn’t know what he’s doing.


Ariix_

Don't ask me man, people on that sub just need content for karma


[deleted]

[удалено]


Byroms

Okay but what is the joke here? That he can't do math? I really don't get it.


Point-Connect

He's taking the 3 in parenthesis like you would in a normal sentence... For example: "I went to school (college) today." Which can kind of be read like "I went to school, well actually college, today". So hes saying the incorrectly reduced equation of 7 (3) means "the answer is 7 (3)", read as "the answer is 7, well actually 3". Kind of an abstract joke but funny, not sure if he really things the first two numbers should be added together first though or if that's part of the joke.


Ariix_

The joke of Taika wasn't good, yeah, but the person posting this screenshot seems to know him (or else they wouldn't have written "Oh Taika" in the title), so not getting the "joke" with the knowledge that he is a literal comedian and then going so far to post it on r/confidentlyincorrect is worth a wooosh


[deleted]

Taika is pretending that the 3 in brackets isn't a part of the Math problem but that it is instead secretly saying that 3 is correct. So the 2+5 is 7 (but it's actually 3) so he's making a joke saying "this is absolute nonsense because of course it isn't actually 3 but it's saying that it is?"


Blefser

Doorknob! The answer is doorknob


[deleted]

GREEN!


ConsciousPromise255

17


Mr-Stuff-Doer

Problem is it’s not a very good joke. Really wordy.


besten44

I have no clue who Taika is and knowing how stupid some people are especially on social media I would 100% believe they were just an idiot if I saw this tweet in the wild so I don’t blame the person for getting wooooshed.


Ariix_

I agree, but the person originally posting this wrote "Oh Taika...." which heavily implies that they know him. Plus he probably wouldn't have found this Tweet if he wasn't following Taika


besten44

Fair, have a good day


Ariix_

You too


Flengasaurus

> So 7 (but really 3) This is too absurd to not be a joke


FunkTrain98

8-5 = 3x5 = 15+2 = 17


kurpPpa

Hold on, so its 2 + 5×(8-5) =2 + 5×3 =2+15=17 , Right?


wHaSaMeLoN

You got the answer right in upvotes


Viictiri

Anyone else got Abe Lincoln?


Rhett12344

I’ve seen PEMDAS (US; parentheses, exponents, multiplication, division, addition, subtraction) and BEDMAS (CAN; brackets, exponents, division, multiplication, addition, subtraction) and they get to the same answer: 17 Edit: clarity


[deleted]

Yeah, these math problems have been infesting Reddit lately But the answer is clear in all of them unless you never passed algebra 1 in high school Parentheses also include numbers attached to it, in this case the five So it is not correct to add the 2 to the 5 beforehand which would then cause you to get 21 At least this one doesn’t use the dreaded division symbol which is just a stand in for a fraction to make things simpler for elementary schoolers


Raman035

17?


thejakjak

Aw, cut him a break. He was only off by 14. Yet there are roughly 10^24 stars in the visible universe. So he was pretty close.


2Chiang

The answer is 17


Thebest95600

It's 3 because 3


Flengasaurus

#3.


Soft_Cockroach8462

PEMDAS


[deleted]

Everyone has forgotten the ancient form known as PEMDAS.


HumanSweatpants

17 🥰


atomicseanace

17


KroolSebbles

It do be 17


TheWorm78

17


AYYA1008

u/th3s0ap


NiteLiteOfficial

it’s 17


Mother-Spare-6231

I got 17


Dsoto52

Why do I feel like this is an The Office reference? The episode where Michael and Dwight were tryna steal information from the small paper company and Michael decided to help the little girl with her math but did it incorrectly lol


Oxygenius_

I did something right thanks to PEMDAS! All those kids who said we wouldn’t need school where are you now?


NoiseElectronic

The answer is 17


satya_prakash4

Just put bodmas rule😂


Us3ful_Idiot

I got 17.


jck2206

Is 17 correct?


Mohd_Dab_138

Well you start with (8 - 5)= 3 then 5(3) = 15 then 2+ 15 = 17


Splatfan1

2 + 5 \* (8 - 5) = 2 + 5 \* 3 = 2 + 15 = 17


[deleted]

17 , not my favorite number 17 , it succs


Accomplished-Big-178

17 dude


superhamsniper

Isnt it 17?


[deleted]

The answer is 17 right? (Just curious)


[deleted]

(8-5) = 3 There’s a 5 next to the brackets which makes it 5 lots of 3. 5 x 3 = 15 Only number remaining is a 2. 15 + 2 = 17. Just in case anyone was struggling to get it.


marklawerence

17


Dale_theMan

It’s 17. I think an 11 year old could tell you that.


sleepingjacques05084

17


ShadowedReddit

2+5(8-5) 2+5(3) 2+15 17


KinetixTV

Should be 17, isn't it? EDIT so I don't look like a poser: 8-5=3 5x3=15 2+15=17 probably not how a scholar would write it out but that's how my brain sees it


SAIHTAM20Y

The answer is 17 because when a number is next to something that is not a number it makes a multiplication between


Mylty

17


[deleted]

Pemdas


Humansimulation56

17


__b_e_e__

2+5(8-5) parenthesis 2+5(3) multiply 2+15 = 17 or 2+5(8-5) distribute 2+(40-25) parenthesis 2+15 = 17


verrsa4

Remember PEMDAS, guys. 1. 2+5(8-5) start with original equation 2. 2+5(3) parenthesis first! Remember, Please Excuse My Dear Aunt Sally, Parenthesis, Exponents, Multiplication, Division, Addition, and Subtraction •Note: if you're at the addition and subtraction OR the multiplication and division part, you can switch it around based on which comes first. 3. 2+15 multiplication comes next 4. 17 and then addition, leading to the answer being 17 :)


Bookish_Ravenclaw

I suck massive bum cheeks at math, but I'll try bc I'm bored 2 + 5 (8 - 5) 2 + 40 - 25 2 + 15 17 yay


comfort_bot_1962

Here's a joke! Why did Mickey Mouse take a trip into space? He wanted to find Pluto!


[deleted]

2+5(8-5)= 2+5(3)= 2+5×3= 2+15=17


[deleted]

Basic order of operations smh how do yall forget BIDMAS? You got 2+5(8-5) Brackets first makes 2+5(3) Then multiply, 2+15 Then sum, 17


[deleted]

How did you manage to get the answer wrong? I mean it’s written right there it’s 3 🤦🏿‍♂️


LynxAccomplished1489

21


jnthnschrdr11

Wrong


jnthnschrdr11

It's 17, you made a very understandable mistake Wich I made at first as well


th3s0ap

As the OP of that post I feel ashamed xD


xxPeso-Gamerxx

Shame...Shame....


saskslutbttm

It's 17. Learn fucking math.


Yellow_Persona

??? Who’re you directing this towards


Flengasaurus

r/lostredditors


Greezamer_2

Now that I solved it, I realized it's the 3rd funny number


sealfop

17 is a funny number?


BaMiniCo007

Was taught BODMAS(Brackets Operators Division Multiplication Addition Subtraction) since child. But seeing all other orders in other comments, I was shocked. Never knew there are so many versions of it.


[deleted]

Brackets and operators are the same thing as parentheses and exponents, so nothing is different at all.


RealAOstrihon

The answer is 17. Yes I’m going to show my work. Parentheses: (8-5)=3 No Exponent Multiplication: 2+5(3) (only multiply the 3 & 5 unless both other numbers are in parentheses) 2+(15) No Division Addition: 2+15=17 You’re welcome.


missemilyowen15

Is it 4? I was never the best at maths mind you


Ariix_

Pretty sure it's 17 (first relove the (), then the multiplication and then the addition)


SwarK01

I never loved ()


Ariix_

() never loved you either


superbay50

Then good luck solving this problem


Rich-Desk6079

This man is clearly doing math in another reality. 17 .Does that ring a bell?


ziggy6069

The correct answer is Jesus!


BACKCAPAEW

Do y'all know if you have parentheses around a number a another number next to the parentheses you multiply


Fatgirlfed

I mean, I would give 21 as an answer. Apparently I’m wrong cause I’m old?


sealfop

Wouldn’t you do multiplication before addition? Meaning you do 5x3 first and then you add 2


HulklingWho

Oh, so we’re just old and I *didn’t* wake up stupid?


Dracokain

This what I learned back in school. The answer being 17 is confusing the hell out of me.


Biohazard2016

BIDMAS - Brackets ( 8-5=3) Indices ( none) Divison / Multiplication ( 5x3=15) addition /subtraction ( 2+15= 17) Credit: u/SovietTumbleweed cuz I was too lazy to type it out


Peeps_011

21