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

be a savior and help me please
Jeremiah has his hours at work decreased from 20 hours per week to 15 hours per week. By what percent did his number of hours worked decrease?
If there are abnormalities on an EKG strip in leads V1, V2, what area of the heart is affected? a) Anterior wall. b) Inferior wall. c) Lateral wall. d) Septal w
The palm wine liquor Aphro contains 40% alcohol; how many ml of whiskey can be produced with 80ml of alcohol?
In the late-19th century, three-fifths of Appalachia's manufacturing investment went into ______.
Three key areas of dispute for a BG firm?
Which of the following trades settle next business day? O U.S. government debt O U.S. government agency debt O Municipal bonds O Listed options
Blue whales are considered the biggest animal ever lived with maximum confirmed length nearing 30 meters. While some titanosaurs reportedly were somewhat longer
Can ideas be considered as knowledge? 1) Yes, ideas can be considered as knowledge 2) No, ideas cannot be considered as knowledge 3) It depends on the type of i
What capacity system will provide the best dehumidification in coolin heat gain of 2 tons? A) A 3-ton system C) A 4-ton system B) A 2-ton sys D) A 2.5-ton s