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(len("to be or not".split())) show? | StemPy Lab
Quizzes
/
What does print(len("to be or not".split())) 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(len("to be or not".split())) show?
3
12
5
4
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← A student tests the word Anna with the line text == text[::-1] and gets False. What is the mistake?
What does print("-".join(["x", "y", "z"])) 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 →