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
Anti-malware software should be installed on computer systems to detect and prevent malware infections.
Evgen [1.6K]

Answer:

true

Explanation:

Malware is any software intentionally designed to cause damage to a computer, server, client, or computer network. A wide variety of types of malware exist, including computer viruses, worms, Trojan horses, ransomware, spyware, adware, rogue software, and scareware

Antimalware (anti-malware) is a type of software program designed to prevent, detect and remove malicious software (malware) on IT systems, as well as individual computing devices

6 0
3 years ago
Read 2 more answers
Can you know in advance the path a message will take between you and another computer on the internet
djverab [1.8K]

Answer:

No, you really cannot tell.

Explanation:

Packets on a network are always taking different routes or paths. Based on the traffic, the router will choose the best path to send packets to. For instance, if the network experiences redundancies or network congestion between the host and destination devices, additional paths will always be available. Unless we have manually configured proxies, we will never tell in advance the path a message will take. Internet routes are dynamic in nature especially since they are based upon traffic loads among other factors

8 0
3 years ago
Define algorithm<br> Write a small algorithm
Nataly [62]

Answer:

an algorithm (pronounced AL-go-rith-um) is a procedure or formula for solving a problem, based on conducting a sequence of specified actions. A computer program can be viewed as an elaborate algorithm. In mathematics and computer science, an algorithm usually means a small procedure that solves a recurrent problem.

3 0
3 years ago
Read 2 more answers
In the context of social bookmarking, what does tagging allow you to do?
tatyana61 [14]

Social bookmarking is a way for people to store, organize, search, and manage “bookmarks” of web pages. Users save links to web pages that they like or want to share, using a social bookmarking site to store these links. These bookmarks are usually public, and can be viewed by other members of the site where they are stored. Examples of social bookmarking sites include del.icio.us  and digg.com .

 

Most social bookmark services are organized by users applying “tags” or keywords to content on a Web site. This means that other users can view bookmarks that are associated with a chosen tag, and see information about the number of users who have bookmarked them. In many cases, users can also comment or vote on bookmarked items.

 

Social bookmarking is also interchangeably sometimes referred to as folksonomy, collaborative tagging, social classification, social indexing, and social tagging. “Folksonomy” is a combination of the words folk and taxonomy, hence a folksonomy is a taxonomy generated by a person or group of people

4 0
3 years ago
Read 2 more answers
How To Pass CompTIA A+ Certification (220-1002 ) In First Attempt?
sergey [27]

Answer:

I’ve successfully taken my desired certification after getting prepared from 220-1002 dumps. I was recommended this short guide by a friend. First I checked the material with free demo version and downloaded 220-1002 original PDF material from Dumps4Download.us. Now I suggest others to use this compact guide with confidence. It was too simple to buy this low-priced material from Dumps4Download.us. It contained all the information that was expected to come in exam. I’m so happy for my success and ask others to try 220-1002 exam dumps.  

https://www.dumps4download.us/free-220-1002/comptia-question-answers.html

7 0
3 years ago
Other questions:
  • Why would you use a database system instead of traditional file system
    6·1 answer
  • What is the key value proposition of Google Search campaigns?A. Appear as a text ad, a video ad, or a banner ad on one of Google
    13·1 answer
  • When both gears are the same size what will they produce
    11·1 answer
  • Gloria is in her sophomore year of college and works part time. She has assignments saved on her home computer, her aunt's lapto
    6·2 answers
  • What is the Best decent priced Laptop/PC
    11·1 answer
  • Electronic business includes which of the following
    5·2 answers
  • Select the correct answer.
    10·1 answer
  • Ví dụ sau sẽ in ra dữ liệu của x là kiểu gì ?
    9·1 answer
  • What is wrong here??
    14·1 answer
  • Big data are _____. Select 2 options. (please help!)
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!