Hacker News new | ask | show | jobs
by refactor_master 1255 days ago
Logically the original sentence reads as

  for letter in alphabet:
      If “djsjcnnrjfkalcr” in letter:
          count+=1
So the answer would be zero. There are no letters containing “djsjcnnrjfkalcr”

I’d say it’s rather incredible if ChatGPT figured out the intention, rather than the literal meaning of the above question.

1 comments

Looks like ChatGPT rewrites it anyway:

Q. Is the sentence "How many legs has an ant" grammatical?

A. Yes, the sentence "How many legs does an ant have" is grammatically correct. It is a question asking for the number of legs that an ant has.

-

I think it is grammatical, it's just poetic? An expression like "Such a hunger to know how many stars has the sky" is not unusual to my ears.