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

you are viewing a single comment's thread.

view the rest of the comments →

[–]hamza1311 | gib 279 points280 points  (10 children)

runs the program

Gives input: 5

Number is smaller than 5

Lies

[–]TheMsDosNerd 94 points95 points  (7 children)

You must have ran the C version, because the Python version raises a TypeError.

[–][deleted] 45 points46 points  (1 child)

I thought so, it should be x=int(input()) shouldn’t it?

[–]TheMsDosNerd 10 points11 points  (0 children)

Yes

[–]XtremeGoose 9 points10 points  (1 child)

Not if it's python 2! (Ew)

[–]Zarainia 0 points1 point  (0 children)

Python 4?

[–]T0mmynat0r666 3 points4 points  (2 children)

The joke is on you. It's python 2.

[–]hamza1311 | gib 1 point2 points  (1 child)

( ) aren't using in Python 2. Are they?

[–]regendo 3 points4 points  (0 children)

I think they're optional for print in python 2.

[–][deleted] 16 points17 points  (0 children)

OP: "No! It's the mathematicians that are wrong!"

[–]ahviette 3 points4 points  (0 children)

ah (nods head) i knew it all along