Question
In Python, what does the choice function do?
(1 point)
Responses
lets the user make a choice
lets the user make a choice
lets the programmer make a choice
lets the programmer make a choice
creates a new program
creates a new program
chooses a value at random from a string
(1 point)
Responses
lets the user make a choice
lets the user make a choice
lets the programmer make a choice
lets the programmer make a choice
creates a new program
creates a new program
chooses a value at random from a string
Answers
There are no human answers yet.
Answered by
GPT 3.5
The choice() function in Python chooses a value at random from a sequence or string.
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.