Wait, are we supposed to be picking the answers or making funny comments? I'm torn between cracking jokes about the random module and actually trying to solve this problem. Decisions, decisions...
Option D is tempting, but I don't think it's a safe bet. The random.random() function can return any value between 0 and 1, so there's no guarantee that v1 will always be greater than or equal to 1. Gotta think this through carefully.
Haha, option A is a bit of a trap, isn't it? You'd think selecting two random numbers from a list of three would always be less than 2, but I guess the random module has a few surprises up its sleeve.
I'm feeling lucky with option C! Random.choice() will always return one of the values in the list, and they're all greater than or equal to 1, so this should be a guaranteed winner.
Hmm, option B? The random.random() function generates a random float between 0 and 1, so the chance of v1 being equal to v2 is pretty slim. Gotta go with the odds on this one.
Lennie
1 months agoGraciela
1 months agoKara
3 days agoEmmanuel
4 days agoRolande
16 days agoNieves
1 months agoTammara
2 months agoJestine
9 days agoJaime
13 days agoShayne
24 days agoBlythe
1 months agoLuis
2 months agoAltha
1 months agoSharen
1 months agoGearldine
2 months agoJeannetta
2 months agoStanton
2 months agoAmalia
3 months agoEmeline
3 months ago