lexyhallzie
lexyhallzie lexyhallzie
  • 14-01-2021
  • Computers and Technology
contestada

Which line of code will sort the list.

aList = [9, 2, 3.5, 2]

aList.sort()

aList(order)

sort(aList)

order(aList)

Respuesta :

MrRoyal
MrRoyal MrRoyal
  • 19-01-2021

Answer:

aList.sort()

Explanation:

Given

List: aList

Required

instruction to sort the list

The given code segment is written in Python.

In python, to sort a list; you make use of

[list-name].sort()

So, in this case, the line of code to sort aList is aList.sort()

Answer Link

Otras preguntas

3. Which of the following is an example of a set of like terms?A. 174, y, 17B. 15x, -x, 33xC. 18, 219, 24D. -5x, -5y, -5xy​
Dale graphed the absolute value parent function. Then, he reflected the graph over the x-axis, shifted it four units to the right and three units up. Give the n
During the light dependent reactions of photosynthesis, we would expect what compound(s) to be produced? A) glucose B) ATP and NADPH C) water and NADPH D) g
What is anectodal evidence?
Eye color is one example of a trait caused by a
can someone help me please do tomorrow ​
Will give brainliest to best answer!Based on this map, where are the oldest human civilizations? Australia and Africa Africa and Europe Australia and Asia Asia
Mrs. Smith’s class is making vests. Each vest uses 2/3 of a yard of fabric. How many vests can they make out of 18 yards of fabric?
How do i calculate acceleration? pls help! thanks :) As I drive down South Hill toward downtown Spokane, my car goes from a velocity of 25 mph north to a veloc
60% of the work is done in 17 minutes, 40% of the same work, when is done (in minutes)?