Weird MemoryError issue

John Machin sjmachin at lexicon.net
Wed Jul 19 16:17:06 EDT 2006


On 20/07/2006 6:05 AM, John Machin wrote:
> On 20/07/2006 1:58 AM, jedi200581 at yahoo.co.uk wrote:
>> def is_prime n:
> 
> Syntax error. Should be:
>    def is_prime n:

Whoops! Take 2:

Should be:

def is_prime(n):




More information about the Python-list mailing list