1.

Write a program to accept 10 numbers in a list and display the count of prime numbers out of them

Answer» x=[]for i in range (1,11): y=int(input(\'enter the number of a list\') x.append(y)for i in x: if (i>1): for k in range(2,i//2+1): r=i%k if(r==0): break else: print(i,end=\',\')<br>int (inpu


Discussion

No Comment Found