summaryrefslogtreecommitdiff
path: root/python3/primes.py
diff options
context:
space:
mode:
Diffstat (limited to 'python3/primes.py')
-rw-r--r--python3/primes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python3/primes.py b/python3/primes.py
index 20b5202..5152fcb 100644
--- a/python3/primes.py
+++ b/python3/primes.py
@@ -43,4 +43,5 @@ def main():
else:
print('%.2f seconds' % (time.time() - start))
-main() \ No newline at end of file
+if __name__ == '__main__':
+ main()