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
suter [353]
2 years ago
7

Write a program whose inputs are two integers, and whose output is the smallest of the two values.

Computers and Technology
1 answer:
professor190 [17]2 years ago
3 0

Answer:

Explanation:

This can easily be done by using the min function, although since it's asking you to write a program to do this I would implement it like this:

def minimum(a, b):

   if a < b:

       return a

   else:

       return b

if a is less than b, then of course the minimum value if a. But if it isn't that means one of two things, a=b or b<a, either way b will still be the minimum value, since it never mentioned anything about returning something else if a=b.

You might be interested in
The Spell Checker can be found in which two locations in most word processing software?
raketka [301]
The answer is D./Under File or Under Edit
8 0
4 years ago
Who is willam afton from five nights at freddy
diamong [38]

Answer:

the man behind the murder

8 0
3 years ago
Read 2 more answers
Use the provided MS-Excel template to note entries for each .pcap file in Wireshark that are of interest, as well as your assess
zhenek [66]

Answer:You should note entries for each PCAP file in Wireshark that are of interest as from ENCM 369 at ... file in Wireshark that are of interest, as well as your assessment of potential vulnerabilities. Such vulnerabilities might be due to plaintext data exchange between two machines, which might be exploitable by session hijacking, ...

Explanation:

4 0
3 years ago
Supervisor: You will need to consolidate your trouble tickets
liubo4ka [24]
Wheres the rest???????????????????
7 0
3 years ago
Identify the use of queue in the process of spooling output to a printer.
sashaice [31]

The queue makes sure the printer prints each sheet of paper in order.

6 0
4 years ago
Other questions:
  • If people have humility, they don’t tend to see themselves as overly or more important than others. True False
    13·1 answer
  • Select the correct answer.
    9·2 answers
  • Varun wants to start his own business. Suggest him at least four functions of an entrepreneur.
    8·2 answers
  • Which of the following statements isNOT true about abstract data types (ADTs)?A list is anexample of an ADT.ADTs hide theimpleme
    7·1 answer
  • What is the description of ?
    13·1 answer
  • What critical-thinking tool is being used when asking the question, Is this information specific enough?
    9·1 answer
  • Because of increasing advances in technology, there are careers available that weren’t even invented 10 years ago. One such care
    13·1 answer
  • Join my me et.goo gle.etj-dovn-kds​
    11·1 answer
  • What is the value of grade after this program is executed? Assume the score is 50. if score &gt;= 90: grade = "A" elif score &gt
    5·2 answers
  • A co-worker is called away for a short errand and leave the clinical PC logged onto the Confidential Information System. You nee
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!