+ 1
I want to make code to count prime numbers in python 3.0
input n= number of numbers you wnat for example n= 5 1 2 3 4 5 output 3 mean that 3 prime numbers in it
1 Respuesta
+ 1
You can use my code as a function inside your code. It will check if a number is prime.
Then all you need is to run a loop with the numbers you want to be checked and a counter. ;)
https://code.sololearn.com/c1i2d5q0rHBE/?ref=app