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

The accepted value is 1.43. Which correctly describes this student’s experimental data?TrialMeasurement11.2921.9330.88Question 17 options:accurate but not preci
Pedro owns 5 7/10 acres of farmland. He grows beets on 1/8 of the land. On how many acres of land does Pedro grow beets?
Supreme Court Justices are appointed for a term of A. 6 years. B. 14 years C. 2 years D. life
A bank features a savings account that has an annual percentage rate of r=5.2% with interest compounded quarterly. Marcus deposits $8,500 into the account. The
I really need help!Please help me
What happens to the frequency of a wave if its energy increases? A. The frequency and energy of a wave are not related. B. The frequency of the wave increases
Water is not suitable for extinguishing fires involving electrical equipment oil and petrol.why?​
What is the slope of st.line xcosa+ysina=p? ( Find by using derivative)​
The variable z is directly proportional to x. When x is 6, z has the value 60. What is the value of z when x = 11?
a researcher wishes to estimate the proportion of adults who have high speed internet access. what size sample should be obtained if she wishes the estimate to