Aarjvi Parekh
PRO
last week
Aarjvicountry asked

What are whitespaces?

Palistha Singh
Expert
3 days 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.