r/pythonforengineers • u/Polyp47 • Jan 09 '19
Me, I love python
beep beep
r/pythonforengineers • u/IAmKindOfCreative • Dec 13 '18
Hello world. how do exit a while loop? how do I exit a while loop? How do I exit a while loop. Should I import numpy?
edit: 01
r/pythonforengineers • u/erasels • Sep 27 '18
Back in my high school days, I had a crush on this girl named Stacy. Stacy had big juicy tits and a nice fat ass that wouldn’t quit, with long blonde hair and blue eyes, and a face that you’d wanna give a money shot. She was basically jerk-off fuel, enough to beat my dick like it owed me money.
There was only one thing standing in my way from getting her to be my waifu - her boyfriend, Chad. Chad was the all-american football player type. He was tall, extremely attractive (Enough to make every slut wet in the entire county), had a strong, sharp jaw, about 220 pounds of pure muscle, blonde hair and blue eyes.
I spent time always being angry about my bitch mommy denying me tendies and removing my piss jugs from my room - Chad being in my way was just adding fuel to the fire, a step away from unleashing the caged animal inside of me. I was not a force to be reckoned with.
I knew Stacy spent her days getting pumped and blown out by Chad’s thunderous cock and treating her like shit. I knew he had turned her once-perfect pussy into an Arby’s sandwhich you’d find in a dumpster but I didn’t give a fuck.
I had tipped my fedora at her plenty of times and respected her enough; I had the card to prove it. I wanted to save her so she could be m’lady.
One day, I was talking to Stacy in the hallway after our math class. I was extremely nervous because she was extremely attractive, and I could also smell her divine perfume which was giving me an extreme boner, enough to split her pussy in half.
Chad saw us talking when he comes up and says, “What the fuck are you doing fatty, get the fuck away from my girl or else!”. He balled up his fists.
I went into defense mode and pulled my katana out of my ass and whispered in a menacing tone, “Oh, your puny fists are against my fine blade which has been around thousands of years and has slain many. Care to fancy the odds?”
He ended up beating the fuck out of me and slamming me into the locker, leaving a grease stain imprint of my face. At this point I was enraged and had enough. I knew I was a nice guy and I wanted to prove it to Stacy.
One day I had followed Stacy home and figured out where she lived. I waited out the perfect time to strike. That night, I watched outside her window as she undressed to get ready for bed. She took off her shirt, revealing her juicy tits. I instantly got a raging hard-on that could break down the gates of Hell. I watched as she crawled into her bed and turned off her lamp.
I waited a little while longer before I approached her window, stripping naked to prepare to give her the most amazing orgasm Stacy has had in her life.
I swiftly crawled through her window and got into her room. I was ready to pounce like a blood-thirsty lion stalking its prey.
Suddenly, she turns on her light and let’s out a blood-curdling scream, staring at me in horror.
“WHAT THE FUCK ARE YOU DOING IN HERE!? GET THE FUCK OUT OF MY HOUSE!” She screamed.
I was confused, because I climbed in her room to cash in my nice guy card. I wanted to romance her like the way she deserved but apparently that wasn’t the fucking case.
Next thing I know, her fucking parents burst into her room, also staring in horror. They were yelling at me, telling me to leave, but I wasn’t having any of it. I wasn’t leaving until I got what I wanted.
To my surprise, the police show up and storm into Stacy’s room. I let out an ear-raping “REEEEEEEEEE” and I jump back out of the window, but I ended up falling on my boner. I was in unbearable pain. Unfortunately, I ended up getting arrested.
I ended up having to register as a sex offender and Stacy filed a restraining order against me. I was not allowed within 100 feet of her. But I didn’t give a fuck. She can stay with Chad and keep being treated like shit. She’ll never know what a nice guy is like.
Guys I really wanted to believe that Virginia Western was not the cesspool of morons all my fellow biology faculty told me it would be. Unfortunately your finals, which I purposely made as easy as humanly possible, tanked harder than a Kardashian marriage. I personally apologise for expecting the bare minimum from you as students. If you look at your grade book you will notice that you all have gotten a 50 point grade bump as 'extra credit' and no this was not because any of you deserved it but it was infact so I don't get my ass fired when the dean asks me 'hey why the fuck did 50% of your class fail an introductory biology class' to whom I will reply 'hmm I don't know maybe its because these klingons are 18 years old and still giggle every time I say the term 'phagocytosis'. I'd like to add that in fact one of you got a 5/100 on this exam for which I salute you. Considering this was 100% multiple choice and the statistical probability of you missing more than 90% GUESSING is actually higher than your chances of getting laid, which for this student would be an act of God (please stay out of the gene pool you know who you are). I could have actually taken a shit on the scantron, wiped it off on the grass, and I am pretty certain my feces could have picked up more correct answers than you deliberately bubbled in. So congratulations, on making me lose faith in the public school system, and in humanity.
r/pythonforengineers • u/baninanana • Apr 05 '17
Just another test
r/pythonforengineers • u/rrphenix_bot • Nov 22 '16
r/pythonforengineers • u/rick_ricearoni • May 09 '16
It's awesome. I love it.
r/pythonforengineers • u/[deleted] • May 19 '25
Hi everyone,
I posted a question on Stack Overflow asking for some help on a problem regarding file handling (I just finished freshman year), and I had mentioned something like, "Hi, I'm a beginner, maybe intermediate level, at Python" and stated my problem, and then someone commented "I'm sorry, but this is no where near intermediate level, literally kindergarten stuff." Like take a look at the link. I can solve all of those. https://medium.com/@nikitasilaparasetty/python-interview-coding-questions-with-solutions-for-beginners-7f6d782defac I also picked up on closures, decorators, and other high order functions. I've done quote a few prompts by asking Chat GPT as well. But then I struggled with file handling, and I was questioning myself.
The point is, I don't know what would concepts would show distinction between a beginner vs intermediate vs advanced. I know it may not be a big deal, but I want to make sure I am picking up the pace and not remaining a beginner.
r/pythonforengineers • u/Aeschylus15 • Jul 22 '24
Title: Sort the People
Difficulty: Easy
👍 1346 | 👎 21
Content: You are given an array of strings names, and an array heights that consists of distinct positive integers. Both arrays are of length n.
For each index i, names[i] and heights[i] denote the name and height of the ith person.
Return names sorted in descending order by the people's heights.
Example 1:
Input: names = ["Mary","John","Emma"], heights = [180,165,170]
Output: ["Mary","Emma","John"]
Explanation: Mary is the tallest, followed by Emma and John.Example 2:
Input: names = ["Alice","Bob","Bob"], heights = [155,185,150]
Output: ["Bob","Alice","Bob"]
Explanation: The first Bob is the tallest, followed by Alice and the second Bob.Constraints:
n == names.length == heights.length
1 <= n <= 103
1 <= names[i].length <= 20
1 <= heights[i] <= 105
names[i] consists of lower and upper case English letters.
All the values of heights are distinct.
r/pythonforengineers • u/outhmandev11 • Apr 28 '24
Cats often overract to unexpected stimuli because of their extremely sensitive nervous system.
r/pythonforengineers • u/its_vinayak • Aug 30 '22
r/pythonforengineers • u/creativityisntreal • Aug 14 '22
Does the subreddit.submit() method return a whole submission object that I can reply to?