You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a book with i can learn phyton but in the first Little game there is "from random import randit" and the book is for Phyton3 now it do not work im realy said about this please fix that
This issue has nothing to do with IDLE. There is also no bug here. Python's random module has a randint function that works fine. Either you or the book have misspelled 'randint' as 'randit' or the book is using its own random module and not the stdlib version. Please post on python-list if you think you have found a bug.
This issue has nothing to do with IDLE. There is also no bug here.
Python's random module has a randint function that works fine. Either you
or the book have misspelled 'randint' as 'randit' or the book is using its
own random module and not the stdlib version. Please post on python-list
if you think you have found a bug.
----------
resolution: -> not a bug
stage: -> resolved
status: open -> closed
Activity
Spacemage33 commentedon Dec 31, 2016
I have a book with i can learn phyton but in the first Little game there is "from random import randit" and the book is for Phyton3 now it do not work im realy said about this please fix that
terryjreedy commentedon Dec 31, 2016
This issue has nothing to do with IDLE. There is also no bug here. Python's random module has a randint function that works fine. Either you or the book have misspelled 'randint' as 'randit' or the book is using its own random module and not the stdlib version. Please post on python-list if you think you have found a bug.
terryjreedy commentedon Dec 31, 2016
Also, wherever you post, copy and paste the traceback instead of adding a link to an image.
Spacemage33 commentedon Jan 7, 2017
Thank you very much.
Now it works fine!
2016-12-31 5:42 GMT+01:00 Terry J. Reedy <[email protected]>: