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

1. Desde un piso horizontal, un proyectil es lanzado con una velocidad inicial de 10 m/s formando 30o con la horizontal. Si consideramos que la aceleración de l
Evaluate each using the values given. m-((-3) + p)-q; use m= 10, p=-6, and q = 10
1 months salary 1000 rupees. How many salary in 1 day.​
What is the coordinates for lat/long
State the gradient of the line perpendicular to the line y=3x-2
which fields property is associated with all the data types.​
What is a bank??????????
I need helppppp plus!!!!
Which American Indian group formed an alliance with the British as the French and Indian War began? 1.the Huron 2.the Ottawa 3.the Iroquois Confederacy 4.the A
2. Will they accept our invitation?