top | item 37259370

(no title)

timjver | 2 years ago

They said nothing about not printing any non-primes.

discuss

order

imglorp|2 years ago

This is a good point; English alone is an awful specification language. Everyone knows what you mean by "print the first ten prime numbers" but only by idiom and cultural context. This is why LLM is a good fit here, because -- when it works -- it includes all three aspects.

tuukkah|2 years ago

I suppose it's indeed possible to read the assignment as "print whatever you like as long as it includes 10 or more primes" but I'd fail you for that based on not being able to communicate with humans.