Create
Make a Meme
Make a GIF or Short Video
Meme Templates
GIF Templates
share
43 views
•
4 upvotes
•
Made by
while-true-do-end
5 days ago
in
MS_memer_group
Add Meme
Add Image
Post Comment
Best first
Best first
Latest first
Oldest first
4 Comments
reply
ReijoPsyche
0 ups
, 1h
i still do the great "if [_] else" chain of scratch
reply
-.darksun.-
0 ups
, <1h,
1 reply
for determining odd or even just do lambda x: True if x%2 == 0 else False
reply
while-true-do-end
M
0 ups
, <1h,
1 reply
i'll wager a lambda x:x&1
reply
-.darksun.-
0 ups
, <1h
idea: oddoreven = lambda x: x&1
and then you have an odd/even function
if oddoreven(num):
print("odd")
else:
print("even")
Show More Comments
Created with the Imgflip
Meme Generator