Answers for "function of random module in 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
0

import random python

random.choice
Posted by: Guest on November-01-2021

Code answers related to "function of random module in python"

Python Answers by Framework

Browse Popular Code Answers by Language