Please anyone know How to slove in jupyter notebook

A

Akubay

New member
Freecoin
172
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
5,282 Freecoin
P
Peterparker87
1,755 Freecoin
J
Johnhendrick
1,551 Freecoin
S
Smith16
738 Freecoin
M
mahlibeardman
674 Freecoin
A
Alfrenoe87
599 Freecoin
Davy200
Davy200
590 Freecoin
D
domnickfury
505 Freecoin
R
riyageorge0895
496 Freecoin
peterkester96
peterkester96
450 Freecoin
Top