I want to print random number using python. if I use random.randint(1, 10) it would give me random number from 1-10. what if I want to print random number between 1-10 but number 2 is not include? thankyou
- Does this answer your question? Generate 'n' unique random numbers within a rangeHearner– Hearner2020-11-22 13:43:21 +00:00Commented Nov 22, 2020 at 13:43
- Does this answers: stackoverflow.com/questions/29804599/…Manika Sharma– Manika Sharma2020-11-22 13:49:24 +00:00Commented Nov 22, 2020 at 13:49
Add a comment |