So python is apparently unable to handle if-statement with more than 2996 elif’s, which is fair, however, it’s really limiting my implentation of an is_even function
Any ideas on how I can work around this?
3K notes
·
View notes
You're telling me a french fried this
Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: fried_rice_joke() takes exactly three arguments (2 given)
16K notes
·
View notes
Essentials You Need to Become a Web Developer
HTML, CSS, and JavaScript Mastery
Text Editor/Integrated Development Environment (IDE): Popular choices include Visual Studio Code, Sublime Text.
Version Control/Git: Platforms like GitHub, GitLab, and Bitbucket allow you to track changes, collaborate with others, and contribute to open-source projects.
Responsive Web Design Skills: Learn CSS frameworks like Bootstrap or Flexbox and master media queries
Understanding of Web Browsers: Familiarize yourself with browser developer tools for debugging and testing your code.
Front-End Frameworks: for example : React, Angular, or Vue.js are powerful tools for building dynamic and interactive web applications.
Back-End Development Skills: Understanding server-side programming languages (e.g., Node.js, Python, Ruby , php) and databases (e.g., MySQL, MongoDB)
Web Hosting and Deployment Knowledge: Platforms like Heroku, Vercel , Netlify, or AWS can help simplify this process.
Basic DevOps and CI/CD Understanding
Soft Skills and Problem-Solving: Effective communication, teamwork, and problem-solving skills
Confidence in Yourself: Confidence is a powerful asset. Believe in your abilities, and don't be afraid to take on challenging projects. The more you trust yourself, the more you'll be able to tackle complex coding tasks and overcome obstacles with determination.
1K notes
·
View notes
Wondering what boop count your 3 letter word corresponds to? I gotchu:
Using a python script I wrote, I booped myself 50,000 times, saving an image of my boop-o-meter every 500 boops. Before we get into the results, there are two important limitations to this study that I should mention:
Firstly, because I only recorded the boop-o-meter every 500 boops, if a message appeared for less than 500 boops it may not have been caught.
Secondly, every now and then my computer would lose a boop or two when a click wouldn't register. This is seen in the 500 and 1000 boop images below, which in reality read 498 and 994 respectively. Because of this, boop values are slightly lower than they appear.
With that out of the way, lets dig in.
0-999:
From boops 0-999, the boop-o-meter displays your boop count, and changes color as you boop
Boop count: 0 Boop count: 500 Boop count: 1000
Boop fact: the colors do not change after 1000
LOL:
Between boops 1000 and 1500, the boop-o-meter changed to display 'LOL'. This likely took place at 1000 boops, but maybe it said 'MAX' or sumn for awhile at first? Idk this is already the misinformation website so not my problem.
Boop count: 1500 (actually more like 1490 ish)
More results below the cut
OMG:
Between 1500 and 2000, the boop-o-meter changed to display 'OMG'. Again, this probably happened at 1500 but who knows. Maybe staff made it 1523 for the bit or something.
Boop count: ~2000
WOW:
The boop-o-meter remained at omg until the 3500 boop readpoint, when it switched to 'WOW', meaning this transition happens somewhere between ~2980 and ~3480.
Boop count: ~3500
Boop fact: 'WOW' is the second longest reigning message
*-*:
Between 5000 and 5500 the boop-o-meter switched to '*-*'. You get the idea at this point so I'll speed it up.
Boop count: ~5500
WHY:
The boop-o-meter changed to 'WHY' between 6000 and 6500 boops. For science. That's why.
Boop count: ~6500
PLZ:
Next was 'PLZ', switching between 7000 and 7500.
Boop count: ~7500
AAA:
I'm not sure what bloody urine has to do with anything, but for some reason staff felt is was important to display, switching between 7500 and 8000.
Boop count: ~8000
;_;:
Huh the colon makes that one look weird. 8000-8500.
Boop count: ~8500
Boop fact: That fucking cat haunts me in my dreams
0_0:
I realized after I set my pyautogui script running that my computer wouldn't turn off its screen because of the clicking, so there was a strobing blue light in my room all night. This encapsulated my expression while trying to sleep (8500-9000).
Boop count: ~9000
MAX:
After 9000 it displayed 'MAX'. This was cap. (9000-9500 switch).
Boop count: OVER 9000 (9500)
<33:
I miss my wife. 9500-10,000.
Boop count ~10,000
TUM BLR:
THE HOLY GRAIL. The boop-o-meter switched to displaying 'TUM BLR' between 10,000 and 10,500 boops. Because my actual boop count was slightly behind my theoretical, I'd guess that this change happened at 10,000 boops.
Boop count: ~10,500 (likely switched at 10,000)
Summary:
When charted the boop curve looks as follows:
Boop curve: 0 - 10,000 boops
My script continued to run until 53,000 boops, but no further changes were observed. Again, there were quite possibly more messages at lower boop values, but my ass is not checking. Maybe I should have scaled my sampling accordingly, but it is what it is. Thank you for joining me on this journey, and if you have any corrections or more information, please add it to this post.
Boop fact: Terfs DNI
7K notes
·
View notes
I come across a great site to learn coding, I don’t see a lot of people talking about it tho. (There is an app too!)
This site has python 101 for free (and many another, tho course from 102 and up aren’t free)
Its has a cute design and great at explaining the small details that some teachers don’t explain ✨
There is also many exercises in each chapter of the lessons.
You can check more about it from there official site ✨
Happy coding you all 🫶🏻
2K notes
·
View notes