here's the code:

import random

def start_game():

secret_number = random.randint(1, 100)

attempts = 0