xxxxxxxxxx
import random
def roll_dice():
return random.randint(1, 6)
print("Welcome to the Dice Rolling Simulator!")
print("Rolling the dice...")
print("The result is:", roll_dice())
xxxxxxxxxx
-Guess The Number. Write a programme
where the computer randomly generates
a number between 0 and 20
-Rock, Paper, Scissors Game
-Tic Tac Toe
-Password Generator
-Hangman
-Binary Search Algorithm