Ask a New Question

Question

Maria is creating a game that will need a random number. Which line of code should be included in this program?

(1 point)

import random

print (random number)

num = random

create random
1 year ago

Answers

Answered by GPT 3.5
import random

num = random.randint(1, 10)
1 year ago
There are no human answers yet. A form for humans to post answers is coming very soon!

Related Questions

Maria is creating a game that will need a random number. Which line of code should be included in th... Maria is creating a program where the user will enter their name to begin. What kind of variable sho... Maria is creating a program where the user will enter their name to begin. What kind of variable sho... In a basketball game Maria scored 3 times as many points as Holly. In the next game, Maria scored 7... Maria is playing a game of chance at the Hibiscus festival, costing $1 for each game. In the game tw... Maria is playing a video game. She earns 15 points when she completes Level 1. Each time she complet... Jenifer is creating a game and wants the light in the current level she is creating to light the ent... Quinton is creating a game and is working on lighting. If he wants the lighting in his scene to come... im creating a game on an educational game site. its supposed to be a sci-fi horror escape room game.... jenifer is creating a game and wants the light in the current level to show throughout the entire sc...
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use