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("cab")) show? | StemPy Lab
Quizzes
/
What does print(sorted("cab")) show?
Python Programming
Easy
High School (9–10)
High School (11–12)
Undergraduate
General
Python Essentials › Text Processing
Created by
StemPy Lab
What does print(sorted("cab")) show?
abc
['a', 'b', 'c']
['c', 'a', 'b']
cab
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← What does print("banana".count("an")) show?
What does print(chr(ord("a") + 2)) show? →
More on
Python Essentials › Text Processing
Discussion (0)
Log in
to join the discussion.
Loading…
Problems on this topic
Write a function initials(name) that gives the capital initials of a name, so that "asha kumari…
Easy
What kind of text?
Easy
A line has the form name:mark, such as Asha:72.
Medium
What do f"{7 / 3:.2f}", f"{5:03d}" and f"[{'ab':>5}]" show?
Medium
All problems on this topic →