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

How much carbon dioxide can a single tree absorb in its lifetime?
The thick net medium consisted of a thin coaxial cable True/False
What is the boiling point in degrees Celsius of water
Find the greatest common factor of the following monomials: 2n 36n
Michelle has the following monthly expenses 490 dollars in rent $300 in groceries $90 in movies $69 in clothes $130 cellphone $99 cable television $30 internet
Can someone PLEASE help me with my assignment? PLEASE? I've been asking several times and I didn't get any help. I'm sorry if it sounds like I'm begging, but
What’s the value of Y? I’m stuck on this
How many tourists visit the Amazon rainforest each year?
Which state has never sent a woman to congress?
Which was the purpose of the AARP at its founding? To end the practice of mandatory retirement To end job discrimination against older Americans To promote he