Generate a random number

 import random

random_number = random.randint(1, 10)

print("The random number is", random_number)


Comments

Popular posts from this blog

Simple Python Program Code for Snake Game

Iris Flowers Classification ML Project with Code

Data exploration and scatter plot visualization in Python using Pandas and Matplotlib