jtyn7325 jtyn7325
  • 24-11-2021
  • Computers and Technology
contestada

Which of these lines of code will generate a random number between 1 and 50? A. input("1-50") B. print("1-50") C. import random D. num = random.randint(1,50)

Respuesta :

jomariflores400l
jomariflores400l jomariflores400l
  • 24-11-2021

Answer:

D. num = random.randint(1,50)

Explanation:

Answer Link
USruper
USruper USruper
  • 24-11-2021

D is going to generate a random number between 1-50

Answer Link

Otras preguntas

They..... (take) some papers last night
You purchase a car using a $20,000 loan with a 5% simple interest rate.( a. suppose you pay the loan off after 4 years. how much interest do you pay on your loa
A person on a moving sidewalk travels 21 feet in 7 seconds.the moving sidewalk has a length of 180 feet how long wil it take to move from one end of the sidewal
What kinds of governments rules greek city-states?
What might be some of the benefits of more people having access to improved drinking water?
algebra 2 how do you write the equation of the graphs?
When interests rates are high it costs less money to borrow money true or false?
Landscape orientation means the printout is across the length of the page
A rectangle's width is x and its length is 2x-1. Its area is 21. Find its dimensions. my work so far: 21 = x(2x +1) 21 = 2x^2 + x I was wondering how I would co
Jan walked 1/2 mile in 1/3 hours. at this rate, how far will she walk in one hour?