Aarjvi Parekh
PRO
2 months ago
Aarjvicountry asked

What are whitespaces?

Palistha Singh
Expert
2 months ago

Whitespaces are just empty spaces in your text.

For example:

text = "  Hello  "

This has extra spaces before and after Hello.

Those extra spaces are called whitespaces.

We usually remove them to make the text look clean.

Python
This question was asked as part of the Learn Python Basics course.