Seudónimo Seudónimo
  • 24-11-2020
  • Computers and Technology
contestada

Write a for loop in python that prints 10 random numbers between 1 and 100 inclusive.

Respuesta :

Cytokine
Cytokine Cytokine
  • 24-11-2020

import random

for x in range(10):

   print(random.randint(1,100))

Answer Link

Otras preguntas

how do I solve 3a = 9
how do you subtract 9 2/6 - 6 5/6
identify a two-digit dividend that will result in a quotient with a remainder of 1 when the divisor is 4.
What is 80 0.8 and 80% as unreduced fractions
find the 6th term of (x+2y)^10 using the binomial theorem
Which ordered pair is the solution to the system of equations? 2x+y=-8 x-y=-4 A. (−3, −2) B. (−1, 3) C. (1, 5) D. (−4, 0)
What natural resource contributed significantly to the rapid industrialization of Great Britain and Germany? (Points : 2) gold silver coal wood
what is induced magnetism
Historians believe that Martin Luther announced the Ninety-Five Theses by?
The value of y varies directly with the value of x, and y = 12 when x = 4. Which equations represent the relationship between y and x? Choose exactly two answer