fork download
  1. import sys
  2. print sys.version
  3.  
  4. f=lambda n,d=1:n%d>0or-~f(n,d+1)
  5.  
  6. for n in range(1,101):
  7. print f(n)
Success #stdin #stdout 0.01s 47720KB
stdin
Standard input is empty
stdout
2.7.9 (2.6.0+dfsg-3, Jul 03 2015, 23:29:09)
[PyPy 2.6.0 with GCC 4.9.2]
2
3
2
3
2
4
2
3
2
3
2
5
2
3
2
3
2
4
2
3
2
3
2
5
2
3
2
3
2
4
2
3
2
3
2
5
2
3
2
3
2
4
2
3
2
3
2
5
2
3
2
3
2
4
2
3
2
3
2
7
2
3
2
3
2
4
2
3
2
3
2
5
2
3
2
3
2
4
2
3
2
3
2
5
2
3
2
3
2
4
2
3
2
3
2
5
2
3
2
3