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

Can someone please help me with this portfolio?
Which of the following is an object-oriented prototype-based language? Java Pike REBOL MATLAB
The lawmaking function of congress is central to democracy because
Select the correct answer. Solve the system of equations. y = -2x + 5 y = x2 + 3x + 9 A. (1,3) and (4,13) B. (-1,13) and (-4,7) C. (-1,7) and (-4,13) D. (-1
How does Giselle’s arrangement with the Fletchers affect the plot? It establishes the relationship with Dark Star and sets into motion a series of events that r
How to write equation
how does the sentencing at the beginning of the story affect the narrator in the pit and the pendulum
Answer fast please. Segment AB measures 3 cm. Point O is the center of dilation. How long is the image of AB after adilation with ...Scale factor 5?Scale factor
Kyle forgot to title his notes. Which is the best title for these notes?A.Scientific InquiryB.Scientific QuestionsC.HypothesesD.Scientific Method
Two consecutive odd integers have a sum of 84 what are the two are integers