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 type of triangle had side lengths of 4,7 and 9
Because there is more social isolation in rural areas of the united states than in urban areas, we would expect suicide rates to be:
Which statements correctly describe theories? Check all that apply. Theories result from several repeated experiments. Theories are based on a single hypothes
What is found in a "cloud' around the core of the atom? A. protons B. neutrons C. electrons D. positrons
Building a dam to produce hydro-electricity power is one way to take advantage of a common renewable resource. This produces much less pollution than a coal bur
The height h (in feet) above the water of a cliff diver is modeled by h=−16t2+8t+80 , where t is the time (in seconds). How long is the diver in the air?
Emma is eating a bowl of soup for dinner. She estimates the bowl holds 2 quarts of soup . Do you think Emma's estimate is reasonable ? Why or why not ?
Need help it’s late and forgot I had homework
A ball is thrown from a height of 110 feet with an initial downward velocity of 6/fts. The ball's height h (in feet) after t seconds is given by the following:
What is the decimal version of 29% ?