Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
235 views
in Technique[技术] by (71.8m points)

python - How to randomly select 4 unique countries from '4 continents that have four countries each''

i have four continents, each having four unique countries, my task is to form 4 groups out of them. each group should have four unique countries(picking one country from each continent to form a group) but whenever i run the code, there should be no repetition and the picking should be random. using python.

question from:https://stackoverflow.com/questions/65910355/how-to-randomly-select-4-unique-countries-from-4-continents-that-have-four-coun

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...