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
2,180 Freecoin
Davy200
Davy200
590 Freecoin
nathan69
nathan69
424 Freecoin
Laureine
Laureine
415 Freecoin
C
codeguru
295 Freecoin
Tekera
Tekera
263 Freecoin
A
Akubay
170 Freecoin
smitha
smitha
104 Freecoin
G
Gabby
93 Freecoin
S
sesli
78 Freecoin
Top