Why cache the results? Just call out to the AI every time the function is called
2025-04-17 00:43:14
506
yams mrak :
use modulo bro
2025-07-12 15:05:28
0
Kylie Wilson9218 :
Q: Is this number even or odd?
A: Yes
2025-04-16 15:42:23
335
BBQ_Chips :
techonologia, technological, texhonologia
2025-04-18 13:46:30
0
Christophe Foket :
The next time someone says I'm wasting resources by thanking ChatGPT I'm showing them this.
2025-04-16 15:42:04
326
mecromm :
just use a simple database like Cassandra in a kubernetes cluster for storing those numbers.
2025-04-16 14:18:58
135
Gishky :
We could also go through a loop and reduce the number by 2 till it's 1 or 0... Then we only have to check 2 conditions ^^
2025-04-16 13:38:46
67
nickname69420 :
They aint got if % 2?
2025-04-16 13:46:33
7
Willow Woodwork :
Have a function that repeatedly substracts 1 from your number and keeps track how many times it has done it until it reaches zero. Then check if the number of times it substracted is odd or even. Easy
2025-04-17 01:12:39
9
slimy_rancher :
won't (num % 2 ==0) work?
2025-04-16 19:05:41
2
Joram Macht Sachen :
the fish boiling in the ocean while the ai guesses odd or even: 😐
2025-04-16 15:56:13
43
tznrc :
oh wonderful same carbon emissions of a airplane for getting even odd on an excel. great job
2025-04-16 19:29:06
0
Marco :
num % 2 ==1
2025-04-16 20:43:04
2
Brian Turner8870 :
I've used = and == but what does === mean?
2025-04-16 21:44:49
0
Garmin :
8/10 Ragebait (I was this close to writing a toxic comment 🤏 xddd)
2025-04-16 18:49:00
46
awasinewe :
This is a joke right?
2025-04-18 20:38:46
1
squitz :
i swear the modulo operator is the most hated one
2025-04-16 13:46:50
15
TheTouitoui :
Well... That was odd... 🙄
2025-04-16 16:19:21
29
Patrick :
it's like magic!
2025-04-17 17:45:25
1
Michael :
just code a bot who codes lines setting value to each number
2025-04-16 13:50:02
2
chefkoch555 :
I knew 100% before opening the comments that they would be full of people not getting the joke and trying to correct her.
2025-04-16 20:55:33
23
Amelia Viedge 🍉| 📼🪱👁️🌀 :
what about modulo?
2025-04-18 09:17:27
1
joo :
No api calls?😿🥺
2025-04-16 15:25:19
0
Elie :
there's a much more efficient way to write that without constantly repeating the lines or using AI 😭😭
2025-05-19 02:45:18
0
To see more videos from user @mewtru, please go to the Tikwm
homepage.