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 is .8 repeating as a fraction
What percentage of the total mass of KHCO₃ is made up by nonmetallic elements?  a. 17%  b. 83%  c. 61%  d. 20%  e. 50%
Identity true statements about quadratic function y = ax^{2} +bx+c, where a =/= 0. (1) It reaches either maximum or minimum at the vertex. (2) Its domain consis
If objects travelling at near the speed of light gain mass because their energy of their motion is being converted into mass, the does a photon gain mass?
what was william harveys middle name
A people-moving conveyor-belt moves a 600-newton person a distance of 100 meters through the airport. a. How much work was done? b. The same 600-newton person l
7/8,0.98,8/9 least to greatest
What is 7:9 in simplist form
what type of equation is y= -3/4x -5/4?
You are going to roll two dice. Let the variable x = the sum of the numbers rolled. What is the probability that x = 9 ?