0

How to write the following in python

Write a program that generates 50 random numbers such that the first between 1&2, second between 1&3, third between 1&4,....,and the last between 1&51 I tried From random import randint X=randint(1,51) Print(x) I don't know how make the interval

23rd May 2020, 3:26 AM
Elliot
2 Respuestas
23rd May 2020, 4:31 AM
Abhishek Kumar
Abhishek Kumar - avatar
23rd May 2020, 5:26 AM
Abhishek Kumar
Abhishek Kumar - avatar