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 12.5 and 10 reduced by a factor of 1/5?
ben drives from a 36- foot platform. The equation h= -16t^2+14t+36 models the dive. How long will it take Ben to reach the water ?
Which of these best describes one of the themes in A Raisin in the sun? A) Money create happiness. B) Hatred destroys the person who feels it. C) It's important
**50 POINTS**Can people tell me what numbers and letters the places and oceans go please. Thanks.
What should I say for my daily routine in Spanish?I need to know a few sentences I should say for a daily routine. (breakfest, lunch, dinner) and my hobbies.
Why are there so many different definitions of news?
What were the sumerian's buildings and art like.?
dshbuvosdbvuhohda jhbhuyhb hubuybyby jhhiu
A student made the following chart to prove that AB2 + BC2 = AC2. (SEE ATTACHMENT) Which of the first four steps is the error?
witch term refers to all living things on earth