/c/tech: Technology

46809 stories 40073 subscribers

Moderators

0

Learn Python Scripting With A Fun Random Winner Generator pythongui.orgban site

John will show us to build a Random Winner Generator. This app will allow us to randomly select winners. To make this possible, John uses the Pick () function. John took all the entries and added them to a Python list. He then converted the list into a Python set to automatically remove any duplicates, then converted it back to a Python list. Next, he generated a random number between 0 and the length of the list (minus one). Feel free to watch the video tutorial below and learn more.
Read the full article on pythongui.org
category tech posted by PythonGUI 2 years ago 0 comments edit flag/unflag delete delete and ban this url

Comments (0)

You need to be logged in to write comments!
This story has no comments.