summaryrefslogtreecommitdiff
path: root/progs/a619.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a619.py')
-rw-r--r--progs/a619.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/progs/a619.py b/progs/a619.py
new file mode 100644
index 0000000..f756769
--- /dev/null
+++ b/progs/a619.py
@@ -0,0 +1,11 @@
+def count_Primes_nums(n):
+ ctr = 0
+ for num in range(n):
+ if num <= 1:
+ continue
+ for i in range(2,num):
+ if (num % i) == 0:
+ break
+ else:
+ ctr += 1
+ return ctr \ No newline at end of file