Python Generate a Random Number
In this snippet, we will generate a random number.
Solution
The code:
import random
print(random.randint(0,50))
Output:
8
Run the program in our IDE.

Md Obydullah
https://shouts.dev/obydul
In this snippet, we will generate a random number.
The code:
import random
print(random.randint(0,50))
Output:
8
Run the program in our IDE.
Comments
No comments yet…