I was using Trypython.org, and found that there was no random module included, so got curious.
Is there an alternative method to generate random numbers within a certain range without importing random?
Generating random, or rather pseudo-random numbers is tricky business and it's best to stick to the default libraries. I would recommend you bite the bullet and download Python 2.7.2 or 3.2.3 and then you can play around with any other libraries not included by trypython as well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With