小python语法错误

Ric*_*iam -2 python syntax python-3.x

if n<=1: return 0

for b in bases:
    if n%b==0: return 0

tests,s  = 0L,0
m        = n-1

# turning (n-1) into (2**s) * m
Run Code Online (Sandbox Code Playgroud)

它说test,s = OL,0语法错误:语法无效

谁能告诉我问题是什么?谢谢.

http://i.stack.imgur.com/8a0IO.jpg

整个代码:http://pastie.org/private/65twf2meuulduwe9tk6eeq

Joh*_*ooy 9

这是Python3中的语法错误.只需使用0而不是0L

有关更多信息,请参阅pep237