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.
Leanna
5 months agoTeddy
5 months agoLonny
5 months agoClarence
6 months agoFelicia
6 months agoVirgie
6 months agoTasia
6 months agoSherman
6 months agoGayla
7 months agoKristel
7 months agoEric
7 months agoGolda
7 months agoFrancine
7 months agoArlene
8 months agoLennie
1 year agoGraciela
1 year agoKara
11 months agoEmmanuel
11 months agoRolande
12 months agoNieves
1 year agoTammara
1 year agoJestine
11 months agoJaime
12 months agoShayne
12 months agoBlythe
1 year agoLuis
1 year agoAltha
1 year agoSharen
1 year agoGearldine
1 year agoJeannetta
1 year agoStanton
1 year agoAmalia
1 year agoEmeline
1 year ago