
Backend Mock Technical Interview in 2022 | Python and Algorithms
DonTheDeveloper Podcast
00:00
How to Iterate Through the List of Players
The order is superfluous. Like I said, we can cheat. This isn't a real game. And it's just software. We still want to be able to iterate through the list of players. So for every player in this. For every player in the list ofplayers. You want tobe able to choose one of them. Right. The next thing we need to do then is how can we represent the hat with a randomized. Seemingly random number? How can we block a name out and get something random like that? Or we could just have it somehow. Somehow make it so that it will pick the first one in the list or the third ones in the list
Transcript
Play full episode