Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unique Random ID on Table
#2
What have you tried? We're not big on writing code for people here, but we would be happy to help you fix your code when you run into problems. When you do run into problems, please post your code in Python tags, and clearly explain the problem you are having, including the full text of any errors.

I will say that this is easy to do with a for loop and random.choice.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
Reply


Messages In This Thread
Unique Random ID on Table - by talius - May-30-2019, 12:25 PM
RE: Unique Random ID on Table - by ichabod801 - May-30-2019, 12:41 PM
RE: Unique Random ID on Table - by michalmonday - May-30-2019, 01:47 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Sample random, unique string pairs from a list without repetitions walterwhite 1 517 Nov-19-2023, 10:07 PM
Last Post: deanhystad
  generating random string unique forever Skaperen 5 2,379 Aug-20-2021, 07:15 AM
Last Post: Gribouillis
  Generate unique random numbers from different lists Takeshio 5 3,847 May-24-2019, 07:29 PM
Last Post: ichabod801

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020