Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Selecting a random element from a given sequence #387

Closed
random-Amanda opened this issue Oct 16, 2020 · 1 comment
Closed

Selecting a random element from a given sequence #387

random-Amanda opened this issue Oct 16, 2020 · 1 comment

Comments

@random-Amanda
Copy link

Hi, I would like to add a PR
Selecting a random element from a given sequence
seq = ['a', 'b', 'c', 'd']
output -> 'c' # selected randomly each time.

@Chalarangelo
Copy link
Owner

Please don't. If you took the time to search the website, you'd find out that sample already accomplishes that. Cheers.

Repository owner locked and limited conversation to collaborators Oct 16, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants