3 ms·
That can't be, because primes are numbers greater than 1.
by tuukkah 3y ago
That can't be, because primes are numbers greater than 1.
- timjver 3y agoThey said nothing about not printing any non-primes.
- tuukkah 3y agoI 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.
- imglorp 3y agoThis 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.