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(sorted(["b", "A", "c"])) show? | StemPy Lab
Quizzes
/
What does print(sorted(["b", "A", "c"])) 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(sorted(["b", "A", "c"])) show?
['A', 'b', 'c']
['b', 'c', 'A']
['A', 'c', 'b']
['c', 'b', 'A']
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A student uses binary search on [9, 2, 7, 4], which is not in order, and sometimes it misses a value that is there. What is the mistake?
What does print([4, 2, 7].index(7)) show? →
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 →