Computer Science, asked by akshitchaudhary852, 9 months ago

write the python program to generate a random no.​

Answers

Answered by Questioner5416
1

Answer:

import random

a= [1,2,3,4,5]

b=random.choice(a)

print (b)

Hope this helps!

Similar questions