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

What was the main focus of production during world war 2
where did ray kroc open his first mcdonald's, in 1955?
Round 7.2199 to the nearest thousandth
Name the following chemical compound b2br4 A. Boron Blrate B. Bromate boride C. Boride tetrabromine D. Diboron tetrabromine
Bill measures the circumference of a circular fish pond to be 28 ft. What is the diameter of of the fish pond, rounded to the nearest foot? Use 3.14 to approxim
using cardio loading to Increase the store of glycogen seem to benefit only those athletes who engage in aerobic activities that are?
In recent years, millions of Chinese workers have moved from _____________ areas to _____________ areas. A. urban; rural B. coastal; mountain C. rural; urban
Nonverbal cues that are in sync with the verbal message will: a. b. c. d. Reinforce the verbal message. Breed resentment and distrust. Cause people to believe t
What event had an enormous effect on US workplace safety?
How is an artifact used in literature?