Python Forum
Random module Python 3.6 - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Random module Python 3.6 (/thread-13644.html)



Random module Python 3.6 - daryl_uk - Oct-24-2018

Good evening Pythoners,

Can someone point me in the right direction of how to successfully use the random module for Python3.6.

I am slowly loosing my mind over this as all the examples I have come across on the web throws errors. I am particularity interested in generating integer numbers between 1 and a higher number of my choosing.

OS: Ubuntu 18.04LTS


RE: Random module Python 3.6 - micseydel - Oct-25-2018

If you have a question about a specific error, it's best to include the full code and error (ideally a single line of code, whatever is minimal).

It sounds like you want randrange.