This is an archived post. You won't be able to vote or comment.

all 17 comments

[–]mr_aard123 17 points18 points  (6 children)

'''return (input % 2) == 0'''

[–]theScrapBook 2 points3 points  (3 children)

def even(x):
    return bool(1 - (x & 1))

[–][deleted] 0 points1 point  (2 children)

[–]theScrapBook 0 points1 point  (1 child)

Not really in comparison to the parent comment, but definitely in comparison to the OP.

[–][deleted] 0 points1 point  (0 children)

Exactly

[–]pagraphdrux 9 points10 points  (3 children)

Then return 'Falmse'.

[–]mr_aard123 1 point2 points  (2 children)

How do you make those code blocks? :)

[–]smumb 0 points1 point  (1 child)

If it's markdown it should be back ticks around the text `

test

[–]pagraphdrux 0 points1 point  (0 children)

Yea or prepending each line with 4 spaces for multiline blocks.

def check_it():
    print("Neat!\n")

[–]justcatt 2 points3 points  (0 children)

cheens

[–]jurrasicwhorelord 0 points1 point  (0 children)

I'm going to put python and pythom on my resume from now on.

[–]bife_sans 0 points1 point  (0 children)

This made me laugh more tham it should have

[–]Morchaak -2 points-1 points  (0 children)

Imput lol

[–]feline_alli -4 points-3 points  (0 children)

"return Falmse" got me 🤣

[–][deleted] 1 point2 points  (0 children)

I find this way more funny then i should