How to randomly select 3 elements of a list in python

preview_player
Показать описание
How to randomly select 3 elements of a list in python

00:00 Introduction
00:10 Importing random module
00:14 Creating a list of letters
00:28 Random selection of 3 elements from the list using sample() method
00:51Running code to see the results
01:06 Conclusions
Рекомендации по теме
Комментарии
Автор

it has helped alot sir
but how does the random.choice work

eidzkze
Автор

how do i just choose 3 elements, like a, c, f

Maldive