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
Vanyuwa [196]
3 years ago
9

Python code 100 Random Numbers (twice)

Computers and Technology
1 answer:
Leona [35]3 years ago
8 0

import random

i = 1

while i <= 100:

   print("#"+str(i)+": "+str(random.randint(1,100)), end=", ")

   i+=1

print()

i = 1

while i <= 100:

   print("#"+str(i)+": "+str(random.uniform(1,100)), end=", ")

   i += 1

I hope this helps!

You might be interested in
The programs that provide the infrastructure and hardware control necessary for the computer and its peripheral devices are call
Vinil7 [7]

Answer:

System Software

Explanation:

Anything on your computer that includes system services, configuration files, and many other computer preferences is called system software. System software like the operating systems themselves, browsing software, and many other software programs offers platform to other software. It falls in between the user and the hardware. Once your Operating System is installed, the system software comes preinstalled. System software constitutes every program file on your computer that interacts in a very basic level with the hardware.

8 0
3 years ago
Which of the following is not a shared characteristic of new media.
tensa zangetsu [6.8K]
The last one , info is not sparse or little , we have plenty of it
6 0
3 years ago
Can someone that been helping me answer one more question for please and thx
Gnom [1K]

Answer:

D

Explanation:

Federal Tax, not state

5 0
3 years ago
We cannot imagine a life without the Internet. Imagine that you had to live without being connected to the Internet. Discuss the
sleet_krkn [62]

Answer:

1, I would not be able to contact anyone, or call for help.

2, Stores like Apple would lose their purpose.

3, Life would be boring and dull.

  • i hope that helped at all.

4 0
2 years ago
Can you prove that the bleu areas are the same please?
Nookie1986 [14]

\huge\color{darkred}{ \tt{NO!!}}

8 0
2 years ago
Read 2 more answers
Other questions:
  • g The reciprocal Fibonacci constant ψ is defined by the infinite sum: ψ=∑n=1 [infinity] 1 Fn Where Fn are the Fibonacci numbers
    7·1 answer
  • Which folder is the default choice for saving bitmap or JPEG files created by a user?
    9·1 answer
  • Graphs and charts are two different elements. True or False
    15·1 answer
  • Write a program which capitalize every character after full stopin a given sentence
    11·1 answer
  • Who invented the ENIAC? More than one answer may apply.
    14·1 answer
  • The continue statement _________.
    11·1 answer
  • You buy a new workstation that features an embedded RAID controller on the motherboard. You want to setup hardware RAID 10. How
    10·2 answers
  • I can't get my screen to scroll down when answering questions in brainly. Help?
    13·1 answer
  • Write an algorithm to show whether a given number is even or odd.
    14·1 answer
  • CreatePolicies<br> I need help with this in java.
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!