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
frozen [14]
4 years ago
9

Write a new function called "listmax" based on the following IPO # function: listmax # INPUT: a list # PROCESSING: obtains the l

argest element in the list # OUTPUT: returns the largest element in the list Make sure that you DO NOT use the "max" function in your program. You cannot assume that the list supplied will be non-empty - if this is the case your function should return the value None. You can assume that the supplied list contains data elements of the same type (i.e. the list will contain all strings, or all ints, or all floats, or all Boolean values). Here is a sample running of this program: mylist = [10, 20, 30] x = listmax(mylist) print (x) >> 30
Computers and Technology
1 answer:
hammer [34]4 years ago
5 0

Answer:

See Explaination

Explanation:

def listmax(lst):

largest = None

for num in lst:

if largest is None or num > largest:

largest = num

return largest

mylist = [10, 20, 30]

x = listmax(mylist)

print(x)

You might be interested in
A coworker is taking a computer overseas and asks you what concerns he should have. What do you tell him
DerKrebs [107]

Answer:

The components within the computer can get damage during travel, so he could improve the box protection with foam thingies

Explanation:

3 0
2 years ago
What is a client server network and its features?​
maks197457 [2]

Answer:

A client-server network is the medium through which clients access resources and services from a central computer, via either a local area network (LAN) or a wide-area network (WAN), such as the Internet. ... A major advantage of the client-server network is the central management of applications and data.

8 0
3 years ago
The term computer ________ is used to describe someone who is familiar enough with computers to understand their capabilities an
kenny6666 [7]

Answer:

Literate

Explanation:

A computer literate is a person that is high in knowledge and skill with computers, knowing the device inside and out

5 0
4 years ago
What are the uses of ICT in health department write at least 6 uses in brief​
Alinara [238K]

Answer: See Explanation

Explanation:

The uses of ICT in health department include:

1. ICT helps in the improvement of the safety and the satisfaction of patients as new technologies are being developed to endure that patients are treated faster and their chance of survival increase.

2. ICT helps in looking for prevention measures which will be used to eradicate diseases.

3. ICT helps in the storage of medical data electronically. This will help in the easy retrieval of information.

4. ICT helps in the spread of information and also ensures distant consultation which are essential to achieving health related goals. e.g telemedicine.

5. ICT helps in the easy and fast spread of information and also facilitates cooperation and enhances teamwork among the health workers.

6. ICT brings about efficiency and effectiveness of administrative systems.

4 0
3 years ago
The default (preset slide layouts are set up in ____ orientation.
Rama09 [41]
The default is normal view orientation.
3 0
3 years ago
Other questions:
  • What is one important feature of an AUP?
    14·1 answer
  • .All of the following are true with the respect to implicitinvocation except:
    8·1 answer
  • Write a C++ program using a do while loop for (Find the highest score). The program should work for any number of students. Run
    10·1 answer
  • Match the keyword to its definition. 1 . Pixel A device that is not central to the operations of a computer 2 . Peripheral Stand
    10·1 answer
  • To enforce the concept of separating class definition from its function implementations, where should the function implementatio
    14·1 answer
  • What is artificial Intelligence ?
    11·2 answers
  • Poob bn vbyfcfgxfc jghjg jhgh
    12·1 answer
  • What is used for risk response control?
    7·1 answer
  • Technical safeguards involve the hardware and software components of an information system. group of answer choices true false
    9·1 answer
  • How do I find unwanted programs on my computer?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!