Frage im Vorstellungsgespräch bei Cognizant

Write Python code for finding the length of a sentence without spaces.