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

What did the boy drum say to the girl drum ??
Fission U235 can produce what? A Krypton B Strontium C Barium D Xeonon E All of the above
A man stands on top of a cliff and shouts. He hears the echo on the third clap when he claps his hand at the rate of two claps per second. What is the distance
Shawna offers to type Philip's research paper at the price of $6 per page. Philip's paper will be 20 pages long and will cost him a total of $120. Shawna wants
how does development gather speed​
-3/2 que tipo dde numero es?
What was the basic for establishing a good society according to Confucius?​
principal of dictating​
Wayne has a recipe on an index card with a length of 3 inches and a width of 5 inches. He wants to enlarge to 15 inches long. How wide will the enlargement be?A
Consider the equation: 6x + 55 = x 2 power1. Rewrite the equation by completing the square. Your equation should look like (x + c)² = dor (2-c)2 = d. 1. 2) What