what’s wrong about this code?
you can either import the whole modulo:
then to access functions from the modulo you can do:
random is the modulo, while randint is the function
but you import the function from the modulo, so all you have then is
randint (and can be used directly), you don’t have access to the rest of
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.