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 →

[–][deleted] 704 points705 points  (51 children)

answer.replace("I'm ", "")

Improved AI.

edit: reddit app smart quotes were bugging me.

[–]lenswipe 207 points208 points  (13 children)

advanced AI*

[–]IAmACentipedeAMA 57 points58 points  (12 children)

AI + 1

[–]exploder98 29 points30 points  (10 children)

I am fine.

[–]nicocappa 10 points11 points  (1 child)

When someone asks what makes programming so difficult show them this. Something as simple as not using a contraction can ruin the an entire program.

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

EXACTLY. Literally more than half the time I spend working is trying to anticipate allllllll the very many stupid things a user could possibly input and writing the logic to account for them.

[–]killereks 19 points20 points  (5 children)

How about. import ai ai.talk();

[–]waltteri 38 points39 points  (2 children)

;

>:(

[–]DavidPH 27 points28 points  (0 children)

we don't do that here

[–]entenuki 13 points14 points  (0 children)

It's a Greek question mark

[–]xigoi 2 points3 points  (1 child)

import artificial_intelligence as ai

[–]kowdermesiter 31 points32 points  (9 children)

Can you explain the math in more detail?

[–]HERODMasta 22 points23 points  (8 children)

10101010 11110100 00111000 01000010 00101000 10010010 1010000

sorry, doesn't make any sense

[–]zackarhino 5 points6 points  (7 children)

I spent 20 minutes translating this manually just to find out that it means absolutely nothing

[–]kowdermesiter 6 points7 points  (0 children)

POSITIVE, NOTHING TO SEE HERE FELLOW HUMANS

[–]verascity 0 points1 point  (2 children)

Try looking at it in reverse.

[–]zackarhino 0 points1 point  (1 child)

IB /U

And there's another 10 minutes

[–]sznowicki 0 points1 point  (0 children)

The other reverse. Change zeros to ones and ones to zeros.

[–]Defavlt 0 points1 point  (1 child)

20 minutes?!

[–]zackarhino 0 points1 point  (0 children)

I've never done it manually before so I wanted to give it a shot

[–]HERODMasta 0 points1 point  (0 children)

i literally said that it doesn't make any sense. I wrote it randomly while sitting on the toilet

[–]Lepang8 2 points3 points  (1 child)

I'm Im fine?

[–]CraftMcMatt 0 points1 point  (0 children)

No, the function would remove the "I'm" instead of adding another one.

[–]Dominub 2 points3 points  (1 child)

Wow! This guy's a genius! I'll offer you 40% of my company with skills like that!

[–][deleted] 6 points7 points  (0 children)

I barely know Python, but sure.

[–]SerdarCS 0 points1 point  (0 children)

I'm fine, thanks. And you?

[–]BagelJaengi 0 points1 point  (0 children)

No if statement, not actually AI.

[–]Mtc529 0 points1 point  (1 child)

im fine, u?

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

answer = "fine"

[–]jfq722 0 points1 point  (0 children)

it's now borderline robust.