Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 output a list of random numbers 'x' columns wide
#5
(Jan-13-2020, 05:18 PM)adityavpratap Wrote: Seems to be a nice way to create a 2D table. Where can I read more about it?

Documentation on python.org: list comprhensions (note Nested List Comprehensions)
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Quote

Top Page

Messages In This Thread
RE: output a list of random numbers 'x' columns wide - by perfringo - Jan-13-2020, 05:32 PM

Possibly Related Threads...
Thread Author Replies Views Last Post
  How do I calculate a ratio from 2 numbers and return an equivalent list of about 1000 Pleiades 7 1,565 Jul-01-2020, 03:53 PM
Last Post: ndc85430
  Topic: “Filter numbers with a list comprehension” (PyBite #107) Drone4four 4 193 Jun-11-2020, 08:31 PM
Last Post: Drone4four
  What is the best way to set application-wide config values? ajorona 1 165 May-07-2020, 05:03 PM
Last Post: buran
  json.dumps list output qurr 12 671 Apr-08-2020, 10:13 PM
Last Post: micseydel
  Assign the sum of 2 consecutive numbers in a list to a varibale Fenaz 3 299 Apr-05-2020, 10:30 PM
Last Post: bowlofred
  List of n random elements medatib531 5 467 Mar-07-2020, 07:09 PM
Last Post: jefsummers
  If item in list = true, Output = xx kroh 0 206 Feb-19-2020, 09:17 AM
Last Post: kroh
  Can i prevent the random generator to generate already used numbers? MauserMan 3 326 Jan-05-2020, 04:44 PM
Last Post: MauserMan
  How do I name a list while generating numbers on the fly? Pleiades 6 448 Dec-03-2019, 05:47 PM
Last Post: jefsummers
  Finding MINIMUM number in a random list is not working Mona 5 407 Nov-18-2019, 07:27 PM
Last Post: ThomasL

Forum Jump:


Users browsing this thread: 1 Guest(s)