Please anyone know How to slove in jupyter notebook

A

Akubay

New member
Freecoin
170
Complete the following function to return a list of strings lesser than 999 which form prime numbers from a given string of numbers.
For example if the given string is “23167”. All the prime numbers less than or equal to 999 in the string are 2,3,23,31,7,167. So, your function must return [2,3,23,31,7,67,167]. Although 23167 is a prime number we can ignore it because it is greater than 999.
Output: should be list of integers

Please anyone know How to slove in jupyter notebook
 

Richest Freecoded User

Most Freecoin

freecoded
freecoded
4,876 Freecoin
J
Johnhendrick
645 Freecoin
S
Smith16
607 Freecoin
Davy200
Davy200
590 Freecoin
nathan69
nathan69
426 Freecoin
Laureine
Laureine
415 Freecoin
A
anajeen
395 Freecoin
C
codeguru
282 Freecoin
Tekera
Tekera
267 Freecoin
P
Peterparker87
239 Freecoin
Top