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

John ran 1 2/5 miles in 1/3 hour. How many miles can John run in 1 hour
How do i round each number to the nearest 10 and 100
croos hatching at contour shading ng banga
Opal makes $15 per hour working for a photographer. She also coaches a competitive soccer team for $10 per hour. Opal needs to earn at least $90 per week, but s
I suck at fractions, please help​
Potential research participants are told enough about a research study to enable them to choose whether they wish to participate. This illustrates the practice
Is the following function linear?* y= x2 – 4 Yes No
How did physical geography affect the development of Mayan society? Select the two correct answers. High mountain terrain encouraged a social system that valued
someone please help
Find the slope of this line