DonTheDeveloper Podcast cover image

Backend Mock Technical Interview in 2022 | Python and Algorithms

DonTheDeveloper Podcast

00:00

Using Random Indexes in a Random Player List

There's a million mechanisms for that. So, I guess kind of going back to my original idea of maybe we could assign each player to a dictionary that will give it give us a number and then we could use the random module. We have five keys in this example Fred will have Barney couples Bam Bam. Yeah, Fred gets a four will get to one bar zero. Just kind of random indices within that list. And so now implementing it so. It does work.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app