diff --git a/Ex-Machina/ex-machina.py b/Ex-Machina/ex-machina.py index 2ec2b7011..913c6dc28 100644 --- a/Ex-Machina/ex-machina.py +++ b/Ex-Machina/ex-machina.py @@ -3,7 +3,7 @@ def sieve(n): x = [1] * n x[1] = 0 - for i in range(2,n/2): + for i in range(2,n//2): j = 2 * i while j < n: x[j]=0 @@ -26,4 +26,4 @@ def prime(n,x): for i in range (0,4): sys.stdout.write(str(prime(code[i],x)-key[i])) -print \ No newline at end of file +print