Computer Science, asked by anmaasghar402, 2 months ago

6.13 Write statements that will display a random number from each of the following sets:

a) 2, 4, 6, 8, 10.

b) 3, 5, 7, 9, 11.

c) 6, 10, 14, 18, 22.​

Answers

Answered by robinphili24
0

import random

l = [3, 5, 7, 9, 11]

v = [2, 4, 6, 8, 10.]

m = [6, 10, 14, 18, 22]

print(random.choice(l))

print(random.choice(v))

print(random.choice(m))

Please mark me as the brainliest.

Similar questions