Jump to content

List of random numbers where no following number is equal

Recommended Posts

Im looking for a random function that outputs a list of numbers, where no number is followed by an equal number.

Share this post

Link to post

Thx for your help MarissaF.

This is what i had so far. It gives me lists like [1; 3; 4; 4; 2; 2; 3]

Now i want it to be a list that has no following equal number.

instead of:  1; 3; 4; 4; 2; 2; 3

i need:         1; 3; 4; 2; 3; 1; 4

random list.jpg

Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114


© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

  • Create New...