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
pentagon [3]
3 years ago
4

4.15 LAB: Smallest number

Computers and Technology
1 answer:
ANTONII [103]3 years ago
6 0

Answer:

The program in Python is as follows:

nums = []

for i in range(3):

   num = int(input())

   nums.append(num)

   

nums.sort()

print(nums[0])

Explanation:

This initiailizes a list

nums = []

This iteration is repeated for 3 inputs

for i in range(3):

This get input for each iteration

   num = int(input())

The input is then appended to the list

   nums.append(num)

   

Sort the list in ascending order

nums.sort()

Print the smallest

print(nums[0])

You might be interested in
An update anomaly can occur if A. an instance of the same data is stored in two or more places in the database. B. a data elemen
zalisa [80]

Answer:

A. an instance of the same data is stored in two or more places in the database.

Explanation:

Giving that Update Anomalies usually occur when the designated user person in keeping records or record master stored a particular data in more than one in a database. This is what is called duplication of data and is termed an irregularity on the part of the record keeper.

Hence, the correct answer to the question is " A. an instance of the same data is stored in two or more places in the database."

5 0
3 years ago
The instructions in a program, when expressed in Python, ...
sergejj [24]

Answer:

can only be carried out by computers, as long as an interpreter is available which one is it?

Explanation:

The interperetor needed is called CPython, this is the standard C implementation of the language.

7 0
3 years ago
In word, the ____ presents the most accurate view of how your document will look when printed, displaying the entire page on scr
makkiz [27]
<span>When using Microsoft Word, the "Print Preview" presents the most accurate view of how the document will look when it is printed. When using "Print Preview" the entire page is displayed on screen, making it easier to see what adjustments should be made to the page layout, such as spacing or text size.</span>
7 0
3 years ago
Describe how an alpha channel and masking color control image transparency.
Stella [2.4K]
Answe:

Control image transparency
3 0
3 years ago
Estimating the cost of a network is ______ complex than estimating the cost of onenew piece of data processing hardware.a.much m
ipn [44]

Answer:

a

Explanation:

your answer is the first one

5 0
3 years ago
Other questions:
  • A brick weighs 26 N. Measured underwater, it weighs 11 N.
    10·1 answer
  • A compound document contains _______ from different applications.
    12·2 answers
  • How does adding additional light bulbs affect a series circuit?
    10·1 answer
  • _______ allows you to specify how a photo is positioned in the text of your document.
    11·1 answer
  • Questiul 2
    10·1 answer
  • The set of three integer values for the lengths of the sides of a right triangle is called a Pythagorean triple. These three sid
    8·1 answer
  • State three advantages of using a printer​
    15·1 answer
  • What can i say back to my IT school lady?
    8·1 answer
  • What computer is designed for particular application​
    13·1 answer
  • Dynamics
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!