Answers for "how to randomize method python"

2

how to call a random function in python

import random

my_list = [func_test_1, func_test_2, func_test_3]
random.choice(my_list)()
Posted by: Guest on July-30-2020
1

which function to use in random module for a list in python

random.choice
Posted by: Guest on May-11-2020

Code answers related to "how to randomize method python"

Python Answers by Framework

Browse Popular Code Answers by Language