Python Forum
[split] why can't i create a list of numbers (ints) with random.randrange()
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] why can't i create a list of numbers (ints) with random.randrange()
#4
(Oct-21-2022, 04:08 PM)astral_travel Wrote: i thought it suppose to generate a list...

Make sure to check documentation to confirm what you think: https://docs.python.org/3/library/random....randrange.
Reply


Messages In This Thread
RE: [split] why can't i create a list of numbers (ints) with random.randrange() - by ndc85430 - Oct-22-2022, 08:28 AM
RE: num+1 - by deanhystad - Oct-21-2022, 04:35 PM
RE: num+1 - by astral_travel - Oct-23-2022, 07:17 PM
RE: num+1 - by astral_travel - Oct-21-2022, 06:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Entry field random pull from list, each return own line Bear1981 6 963 Feb-25-2025, 06:09 AM
Last Post: Pedroski55
  [split] Prime numbers saima 1 632 Dec-09-2024, 02:19 AM
Last Post: jefsummers
  How do I calculate a ratio from 2 numbers and return an equivalent list of about 1000 Pleiades 8 21,616 Jan-05-2024, 08:30 PM
Last Post: sgrey
  random numbers, randint janeik 2 1,804 Nov-27-2023, 05:17 PM
Last Post: janeik
  Sample random, unique string pairs from a list without repetitions walterwhite 1 2,097 Nov-19-2023, 10:07 PM
Last Post: deanhystad
  Delete strings from a list to create a new only number list Dvdscot 8 3,579 May-01-2023, 09:06 PM
Last Post: deanhystad
  find random numbers that are = to the first 2 number of a list. Frankduc 23 7,857 Apr-05-2023, 07:36 PM
Last Post: Frankduc
  List of random numbers astral_travel 17 6,125 Dec-02-2022, 10:37 PM
Last Post: deanhystad
  Remove numbers from a list menator01 4 3,933 Nov-13-2022, 01:27 AM
Last Post: menator01
  Split string using variable found in a list japo85 2 2,274 Jul-11-2022, 08:52 AM
Last Post: japo85

Forum Jump:

User Panel Messages

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