Answers for "choose at random from 2 values in python"

1

randomly choose between two numbers python

import random
 random.choice([-40, 40])
Posted by: Guest on November-06-2020

Code answers related to "choose at random from 2 values in python"

Python Answers by Framework

Browse Popular Code Answers by Language