- 
                Notifications
    You must be signed in to change notification settings 
- Fork 4.3k
randint term added #7701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
randint term added #7701
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for a second review! 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
| 👋 @dhruvlad1 🎉 Your contribution(s) can be seen here: https://www.codecademy.com/resources/docs/numpy/random-module/randint Please note it may take a little while for changes to become visible. | 
Description
This PR adds a new term entry for
randint(), a function from NumPy'srandommodule that generates random integers. The entry includes a description, syntax, parameters, return value, an example with reproducible output, and a compilable codebyte example. This helps learners understand how to userandint()to generate single integers or arrays of integers within a specified range.Issue Solved
Closes #7688
Type of Change
Checklist
mainbranch.Issues Solvedsection.