Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5892

Random Float Numbers in Python

$
0
0

@FordEarl wrote:

Hello, a complete Python beginner here (like minutes ago)
I would like to learn how to create a random list of 20 float values that are a mix of these float values 0.5, 0.75, 1.0, 1.5, 1.75, 2.0 but I don’t want any of the resulting float values next to each other the same.

Can anyone help?
Thanks for your time.

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 5892

Trending Articles