Help
Contact
For teachers and institutes
Search courses, problems, tests…
A
A
>_
StemPy Lab
Courses ▾
Problems ▾
Practice ▾
Mock Tests
Classes
Groups
Community ▾
A
A
Why do we use lower() before we count words? | StemPy Lab
Quizzes
/
Why do we use lower() before we count words?
Python Programming
Medium
High School (9–10)
High School (11–12)
Undergraduate
General
Python Essentials › Text Processing
Created by
StemPy Lab
Why do we use lower() before we count words?
So that The and the are counted as the same word
To sort the words
To make the text shorter
To remove the spaces
Check Answer
Log in to save
Tag someone
⚑ Report
← All Quizzes
← What does "-".join(["a", "b", "c"]) give?
The text "the cat and the hat" is split into words and counted in a dictionary. What is the count of the? →
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 →