1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Trava [24]
3 years ago
12

using a timer to generate a random number, develop a program that displays random numbers between 1 and 47 (or whatever) for you

r state's lottery
Computers and Technology
1 answer:
mestny [16]3 years ago
3 0

Answer:

Explanation:

The following code is written in Python. It creates a variable that detects the current time. Then it loops through a range of numbers and chooses the last random number after 2 seconds. Finally, it prints that number to the screen. This function can be called countless times depending on the number of state lottery numbers needed.

import random

import time

start_time = time.time()

while time.time() - start_time < 2:

   lottery_number = random.randint(0, 48)

print(lottery_number)

You might be interested in
The part of a rocket engine that allows the combustion gases and flames to leave the rocket engine is the
coldgirl [10]
That would be A: Nozzle
6 0
3 years ago
Explain why the operating system hides certain folders ​
Licemer1 [7]

Answer:

Its a error mistake or its alive hiding evidence for an invasion

6 0
2 years ago
In Microsoft Word you can access the _______ command from the "Mini toolbar." 
ValentinkaMS [17]
Hello, Good Works mate!

Answer: 
save as
*You can access the Save As command on the Mini Toolbar.
6 0
3 years ago
Jamie has to enter names, grades, and scores of a group of students into a worksheet. Which option will Jamie use to describe th
Alona [7]

Answer:

a. labels

Explanation:

a. labels b. graphs c. numbers d. formulas

It is the labels, which is the title of each column. For one column we can have the names, for another column, we can have a label grade. and for the third column, we can have the label scores. And the others are the graphs, formulas and the numbers, which are not an option.

6 0
3 years ago
Explain the characteristics of 1st generation computers​
levacccp [35]

Explanation:

i hope this is the right answer

!st generation computers were more big and bulky and you for sure could not bring them around everywhere.

8 0
3 years ago
Other questions:
  • You are entering command that operates on a file. The path to the file is lengthy and confusing and you are afraid that you will
    12·1 answer
  • An undesirable jagged appearance is referred to as
    7·2 answers
  • Misperceptions can lead to miscommunication. List an example from the article.(site 1)
    10·2 answers
  • Pls help will give brainlest​
    15·2 answers
  • The space where text and content is entered and positioned for onscreen reading or printing
    8·1 answer
  • Como se diseña y produce un material audiovisual
    5·1 answer
  • What is a fire wall and how does it work
    6·1 answer
  • Create an online order form for a car rental store and include the following items: input text box to enter the number of days i
    14·1 answer
  • How do you mark answers brainliest?<br> it looks like they changed it and now idk how to
    12·1 answer
  • Use a spreadsheet to solve this business problem. The owners of an electronics store want to find which of their products makes
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!