lundi 5 octobre 2020

why do I get 'cannot import name 'randit' from 'random' error?

I am new to coding and during my online course there is this example in using import.Before asking this question, I had already goggle it and also looked in here but couldn't find an aswer. I am typing: from random import randit and I get this: ImporError traceback most recent call last) in ---> 1 from random import randit

importError: cannot import name 'randit' from 'random' (c:\users\castilo\anaconda\lib\random.py)

Any suggestion on where should I look a solution will be appreciated. I am contemplation Unistalling and Installing again but for what I had read, it might not made a difference.




Aucun commentaire:

Enregistrer un commentaire