Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
What does print([3, 1, 2].sort()) show? | StemPy Lab
Quizzes
/
What does print([3, 1, 2].sort()) show?
Python Programming
Medium
High School (9–10)
High School (11–12)
Undergraduate
General
Python Essentials › Searching and Sorting
Created by
StemPy Lab
What does print([3, 1, 2].sort()) show?
An error
None
[1, 2, 3]
[3, 1, 2]
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← About how many steps does binary search need at most for 1000 items?
A student writes x = x.sort() and then x is None. What is the mistake? →
More on
Python Essentials › Searching and Sorting
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
The marks, already sorted from the highest, are [95, 90, 90, 90, 80, 75, 75].
Medium
Bubble sort needs n * (n - 1) // 2 comparisons.
Medium
Write a function first_above(items, limit) that gives the position of the first item that is more…
Easy
Which search would you use? (a) A list of 5 names in no particular order.
Medium
All problems on this topic →