• Курсы
  • Компилятор кода
  • Обсуждения
  • Цены
  • Teams
Menu
0

Random

Given a list, how do you get a random element from it?

python
23rd Oct 2019, 1:40 AM
Seca
3 ответов
+ 4
Lookup the random module. https://www.sololearn.com/discuss/1952201/?ref=app https://www.sololearn.com/discuss/1843464/?ref=app https://www.sololearn.com/discuss/335729/?ref=app https://www.sololearn.com/discuss/1146071/?ref=app https://www.sololearn.com/discuss/1205128/?ref=app https://www.sololearn.com/discuss/444125/?ref=app https://www.sololearn.com/discuss/1593652/?ref=app https://www.sololearn.com/discuss/1081212/?ref=app
23rd Oct 2019, 1:51 AM
Aymane Boukrouh
Aymane Boukrouh - avatar
+ 1
thank you to you both
23rd Oct 2019, 3:46 AM
Seca
+ 1
it works
23rd Oct 2019, 3:46 AM
Seca

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
Help
1 Votes
Python stressed me out
1 Votes
Can I get my banned account from sl back i got like 3 months banned/blocking
1 Votes
How often can you become a fully stuck developer?
1 Votes
Improve accessibility of this page
0 Votes
Course Doubt
1 Votes
Data analysis
0 Votes
[ReSolved] I paid for the subscription but didn't receive it.
0 Votes
If we already have the DELETE command in SQL, why do we need TRUNCATE?
1 Votes
How do i make a lexer and parser
1 Votes