Skip to content

Comment on Write a program that makes 2 + 2 = 5

Comments

I'm surprised no one has suggested this yet. In python

Write a program that seemingly adds the numbers 2 and 2

a=2+2

and outputs 5.

print(5)

Yeah, I know that isn't the intent here, but, following the wording of the contest rules exactly...

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.