Sammy288
Sammy288 Sammy288
  • 30-06-2022
  • Computers and Technology
contestada


Write a statement(s) that, using a loop, that displays 5 random numbers in the range of 1 through 100 (inclusive)
In python please.

Respuesta :

hanhtetsan
hanhtetsan hanhtetsan
  • 30-06-2022

Answer:

import random

for i in range(5):

print(random.randint(1,100))

Answer Link

Otras preguntas

what is a concession? a.a refutation of counterarguments to your position b.a consequence of a particular action or event c.an acknowledgedment that some aspect
hiding your true feelings by pretending you feel exactly the opposite is called. a.capitulation b.self-abnegation c.commiseration d.dissimulation
which of the following words means" stingy"? a.indigent b.parsimonious c.incarnate d.persiflage
a stack of quarters is 5 mm. how many quarters are in a stack that is 5 cm tall? show the steps you took and explain your answer
1. What effect does a rise in the cost of machinery or raw materials have on the cost of a good?a) A rise in the cost of raw materials (but not machinery) rai
What is the best thing to study in Antartica?
what are environmental trends?
The numbers 9, 40, and c are a Pythagorean triple. What is the value of c? A. 41 B. 43 C. 45 D. 49
Which form of the modifier correctly completes the sentence? Most cats can move __________ than most dogs.  A.more quietly  B.most quietly  C.quietly
What is produced when iron-bearing silicate minerals in the desert landscape oxidize?