Home > other >  Python appear error ModuleNotFoundError: No module named 'isPrimeFun' how to solve?
Python appear error ModuleNotFoundError: No module named 'isPrimeFun' how to solve?

Time:11-30

The import isPrimeFun
Prime Numbers are as follows: within the print (" 100 ")
For the x in the range (3100) :
IsPrimeFun. IsPrime (x)
If (isPrimeFun isPrime (x)==True) :
Print (x)

Error:
Traceback (the most recent call last) :
The File "d:/python code/222. Py", line 1, the in & lt; module>
The import isPrimeFun
ModuleNotFoundError: No module named 'isPrimeFun'
PS D: \ python code & gt;

CodePudding user response:

Create a new isPrimeFun. Py files
  • Related