Pregunta de entrevista de Cognizant

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