+ 3
What is the correct name for my_math dan next_prime module name in python?
Here is the screenshot for my_math: https://ibb.co/5FM8rTD Credit answered first by r8w9. here is the screenshot for next_prime: https://ibb.co/sCzNrhp I changed next_prime to gmpy but, i'm getting a message: "ImportError: cannot import name gmpy" Here is the screenshot for gmpy: https://ibb.co/Tr5Vh5H
3 Antworten
+ 4
I guess you want math but not my_math ^^
+ 4
import math
+ 4
Hi,
it is a bit confusing.
The module math has no next_prime.
There is a module gmpy I think.
Your Screenshot shows python2. 7.., it is over.
Please provide some more information .