Mar-26-2017, 12:52 PM
Firstly, welcome to Python and welcome to the forum.
Posting the Python code you've tried as well as any error codes (the full error code please) would be helpful. Also, explaining the output you are getting versus what you are expecting would also be helpful. Be sure to post any code and errors between the proper 'code tags'. Refer to the Help Document on how to do this properly.
To get you started,
you will want to look into the Random library.
Posting the Python code you've tried as well as any error codes (the full error code please) would be helpful. Also, explaining the output you are getting versus what you are expecting would also be helpful. Be sure to post any code and errors between the proper 'code tags'. Refer to the Help Document on how to do this properly.
To get you started,
Quote:... or to get the program to select at random
you will want to look into the Random library.
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition