DEV Community

Avinash Mathi
Avinash Mathi

Posted on

Random Number Generation: Generate a random number within a specified range (e.g., 1 to 100).

Random number: To generate number in python ,randint()functionis used the function defined in random module
program
for i in range(1,100):
print(i)
o/p
1 to end 100

Top comments (0)