nitter
J∀MANI ☕️
@BASEDGODJAMANI
Sep 27
I've been taking a programming course for a month now, and I've finally gotten to the point where I know why this is so funny
354
4,190
82,548
1,725,174
MTB
@MTB_updates
Sep 28
Replying to
@BASEDGODJAMANI
def iseven(num): if num % 2 == 0: return num
Sep 28, 2026 · 2:10 AM UTC
21
4
362
62,578
Sort replies:
Relevant
Recent
Liked
vice ::3🐾
@ObjectsCountris
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
this doesn't work. you'd be returning num if it's even and nothing (None in python) if it's odd, instead of a boolean
3
82
6,671
Rodger Dodger
@Sewattube
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
There’s still time to delete this
41
1,211
Arnold Stein
@ArnoldStein6
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
You're not supposed to return num you're supposed to return a boolean. This is the simplest way to do it: private boolean isEven(int num){ return num % 2 == 0; }
1
37
2,748
DoctorAV
@TheDoctorAV
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
what in the slop are you writing, why the fuck are you returning the number and not a bool (better yet just return num % 2 == 0)
26
1,854
Navnik | The Vtuber Ginger Coder Shaman
@GingerCoderSham
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
this failed my unit test, when I input zero, it returns Zero (falsy type).
9
3,275
ILOVEPIE
@ILOVEPIEsynergy
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
def iseven(num): if num & 1 == 0: return num is better as it doesn't need division, if you don't believe me ask grok.
1
6
2,211
isaac moren
@isaacmoren1
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
Yes, but it's a number. Not a bool, you fucking code-slop
4
916
Jon yakuzer
@FajarArno77172
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
shouldn't it return true instead of num???
3
1,009
Catcheyyy/dee4
@catcheyyy52905
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
I got a better one return num % 2 == 0
1
1
1,349
David T
@davidstvz
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
//C version int iseven(int num) return ~(num<<31)>>31);
1
1
3,236
The Motherfucking Bearodactyl
@DaBearodactyl
Sep 29
Replying to
@MTB_updates
@BASEDGODJAMANI
def iseven(num): return num % 2 == 0
69
Game Backlog Price Tracker
@terrenceviz
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
Modulus?! How dare you!!
2,332
james
@jameskeyfur
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
hey at least you tried
2
356
Der3_Al3arab
@Der3_Al3arab
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
Larping programming
3
94
Dark Mousy
@DarkRydstorm
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
def iseven(num): return num % 2 == 0:
2
680
FBI
@Efi_Be_I
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
Hm yeah im inputing 2 and recieving 2 nice
1
2
673
BubbaCola
@Bubba_Cola06
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
do not piss me off
1
79
Aha The Elation
@AhaThe_Elation
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
Then you do something else and it always returns 5
332
test
@test1153490
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
The humble If num%2 then:
372
sabs🔞
@sabsx69
Sep 28
Replying to
@MTB_updates
@BASEDGODJAMANI
DEADASS
82
Load more