You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
182 B
Python
9 lines
182 B
Python
3 years ago
|
#!/usr/bin/env python3
|
||
|
import random
|
||
|
|
||
|
def random_color():
|
||
|
red = random.uniform(0, 1)
|
||
|
green = random.uniform(0, 1)
|
||
|
blue = random.uniform(0, 1)
|
||
|
return red, green, blue
|