Question
What is the output of the function shown below (random module has already been imported)?random.choice('sun')
Answer: Option C
Was this answer helpful ?
The above function works with alphabets just as it does with numbers. The output of thes expression will be either s, u or n.
Was this answer helpful ?
Submit Solution