So Python Is Apparently Unable To Handle If-statement With More Than 2996 Elif’s, Which Is Fair, However,

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

image

Any ideas on how I can work around this?

More Posts from Mintie-chip and Others

2 months ago
Clockwork UConsole CM4

Clockwork uConsole CM4


Tags
2 months ago

The programming/math thing of not getting a thing for hours or even days, then getting it and going "oh I'm dumb "

And immediately after having to explain to your friends you don't actually believe you're dumb and it's not self loathing it's just part of the process

2 months ago
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics
Misc Coding Stamps Graphics

misc coding stamps graphics

1 month ago
I Think About This Post Every Time I Have Some Difficulties With My Linux Setup (basically Daily)

I think about this post every time i have some difficulties with my linux setup (basically daily)

2 months ago

i fucking hate writing java dude what do you mean list.stream().forEach(list2::add)??!

syntax written by clowns

2 months ago
Clockwork UConsole CM4

Clockwork uConsole CM4

1 month ago

I hate when I tell people I'm into Comp Sci and programming and they go "ooh there's a lot of money there". I'm not DOING it for the MONEY I'm DOING it because I want to FUCK the COMPUTER!!!!

2 months ago

i post from here. if you even care.

I Post From Here. If You Even Care.
  • relicthunter
    relicthunter liked this · 2 weeks ago
  • lizardqueenlexi
    lizardqueenlexi reblogged this · 2 weeks ago
  • lizardqueenlexi
    lizardqueenlexi liked this · 2 weeks ago
  • degeneracygenerator
    degeneracygenerator reblogged this · 2 weeks ago
  • degeneracygenerator
    degeneracygenerator liked this · 2 weeks ago
  • thewrongexecution
    thewrongexecution reblogged this · 2 weeks ago
  • dweblenod
    dweblenod liked this · 2 weeks ago
  • luke-the-fish
    luke-the-fish reblogged this · 2 weeks ago
  • luke-the-fish
    luke-the-fish liked this · 2 weeks ago
  • deerleggu
    deerleggu liked this · 2 weeks ago
  • swarthwhore
    swarthwhore liked this · 2 weeks ago
  • coderchris842
    coderchris842 reblogged this · 2 weeks ago
  • la-premiere-et-seulmente
    la-premiere-et-seulmente liked this · 2 weeks ago
  • vines-are-plant-tentacles
    vines-are-plant-tentacles reblogged this · 2 weeks ago
  • hildegard-von-bloggen
    hildegard-von-bloggen liked this · 2 weeks ago
  • shotgunheart
    shotgunheart liked this · 2 weeks ago
  • midnightdexysrunners
    midnightdexysrunners liked this · 2 weeks ago
  • theonepenguin
    theonepenguin liked this · 2 weeks ago
  • deejbeee
    deejbeee liked this · 2 weeks ago
  • pancakes-with-mabel-syrup
    pancakes-with-mabel-syrup liked this · 2 weeks ago
  • aurrieccentric-s
    aurrieccentric-s liked this · 2 weeks ago
  • vivistarlight
    vivistarlight liked this · 2 weeks ago
  • haikuess
    haikuess liked this · 2 weeks ago
  • oh-man-what-the-heck
    oh-man-what-the-heck liked this · 2 weeks ago
  • kathryndstone
    kathryndstone liked this · 2 weeks ago
  • ozzkers
    ozzkers reblogged this · 2 weeks ago
  • rstrike
    rstrike reblogged this · 2 weeks ago
  • rstrike
    rstrike liked this · 2 weeks ago
  • lovereadandwrite
    lovereadandwrite liked this · 2 weeks ago
  • disarmedsylph
    disarmedsylph reblogged this · 2 weeks ago
  • disarmedsylph
    disarmedsylph liked this · 2 weeks ago
  • roboco-san
    roboco-san liked this · 2 weeks ago
  • roboco-san
    roboco-san reblogged this · 2 weeks ago
  • demonic-angelicc
    demonic-angelicc liked this · 2 weeks ago
  • s0upt1m3
    s0upt1m3 reblogged this · 2 weeks ago
  • klawl
    klawl reblogged this · 2 weeks ago
  • kaondecay
    kaondecay liked this · 2 weeks ago
  • neonmeowmeow
    neonmeowmeow reblogged this · 2 weeks ago
  • neonmeowmeow
    neonmeowmeow liked this · 2 weeks ago
  • redsunrisinginthesky
    redsunrisinginthesky reblogged this · 2 weeks ago
  • redsunrisinginthesky
    redsunrisinginthesky liked this · 2 weeks ago
  • programmed-and-dangerous
    programmed-and-dangerous reblogged this · 2 weeks ago
  • programmed-and-dangerous
    programmed-and-dangerous liked this · 2 weeks ago
  • quad-3hall
    quad-3hall reblogged this · 2 weeks ago
  • everyones-beau
    everyones-beau reblogged this · 2 weeks ago
  • prettyhatemachinegirl
    prettyhatemachinegirl liked this · 2 weeks ago
  • salix03
    salix03 reblogged this · 2 weeks ago
  • salix03
    salix03 liked this · 2 weeks ago
  • newterjuice
    newterjuice liked this · 2 weeks ago
  • ohno-its-azu
    ohno-its-azu reblogged this · 2 weeks ago
mintie-chip - actual fucking trainwreck
actual fucking trainwreck

he/they/it | cuntputer science

43 posts

Explore Tumblr Blog
Search Through Tumblr Tags